ethers.js/packages/properties/lib/signal.d.ts

12 lines
389 B
TypeScript
Raw Permalink Normal View History

2022-04-19 22:21:54 -04:00
import type { Numeric } from "@ethersproject/logger";
import type { Listener } from "./events.js";
export declare class Signal {
#private;
constructor(_timeout?: Numeric);
get invalidated(): boolean;
cancel(): boolean;
invalidate(): boolean;
addListener(listener: Listener): this;
removeListener(listener: Listener): this;
}
//# sourceMappingURL=signal.d.ts.map