UNPKG

695 BTypeScriptView Raw
1import { Slot } from "./slot";
2export { Slot };
3export declare const bind: <TArgs extends any[], TResult>(callback: (...args: TArgs) => TResult) => (...args: TArgs) => TResult, noContext: <TResult, TArgs extends any[], TThis = any>(callback: (this: TThis, ...args: TArgs) => TResult, args?: TArgs | undefined, thisArg?: TThis | undefined) => TResult;
4export { setTimeoutWithContext as setTimeout };
5declare function setTimeoutWithContext(callback: () => any, delay: number): any;
6export declare function asyncFromGen<TArgs extends any[]>(genFn: (...args: TArgs) => any): (...args: TArgs) => Promise<any>;
7export declare function wrapYieldingFiberMethods<F extends Function>(Fiber: F): F;