mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 22:40:03 +08:00
Ragga fragga export keywords.
This commit is contained in:
committed by
GitHub
parent
993265faef
commit
6f2d2f068e
8
types/recluster/index.d.ts
vendored
8
types/recluster/index.d.ts
vendored
@@ -8,15 +8,15 @@
|
||||
import { ChildProcess } from "child_process";
|
||||
|
||||
declare namespace recluster {
|
||||
export interface LogOptions {
|
||||
interface LogOptions {
|
||||
respawns?: boolean;
|
||||
}
|
||||
|
||||
export interface Logger {
|
||||
interface Logger {
|
||||
log(message?: any, ...optionalParams: any[]): void;
|
||||
}
|
||||
|
||||
export interface BalancerOptions {
|
||||
interface BalancerOptions {
|
||||
/** number of active workers */
|
||||
workers?: number;
|
||||
/** kill timeout for old workers after reload (sec) */
|
||||
@@ -35,7 +35,7 @@ declare namespace recluster {
|
||||
logger?: Logger;
|
||||
}
|
||||
|
||||
export class Balancer {
|
||||
class Balancer {
|
||||
constructor(file: string, options: BalancerOptions);
|
||||
run(): void;
|
||||
reload(cb?: () => void): void;
|
||||
|
||||
Reference in New Issue
Block a user