Laptop-Thing/web/node_modules/fdir/dist/api/functions/invoke-callback.d.ts
2024-11-27 12:35:48 -05:00

4 lines
364 B
TypeScript

import { Output, ResultCallback, WalkerState, Options } from "../../types";
export type InvokeCallbackFunction<TOutput extends Output> = (state: WalkerState, error: Error | null, callback?: ResultCallback<TOutput>) => null | TOutput;
export declare function build<TOutput extends Output>(options: Options, isSynchronous: boolean): InvokeCallbackFunction<TOutput>;