workflow
Version:
Workflow DevKit - Build durable, resilient, and observable workflows
14 lines • 638 B
TypeScript
/**
* This is the "standard library" of steps that we make available to all workflow users.
* The can be imported like so: `import { fetch } from 'workflow'`. and used in workflow.
* The need to be exported directly in this package and cannot live in `core` to prevent
* circular dependencies post-compilation.
*/
/**
* A hoisted `fetch()` function that is executed as a "step" function,
* for use within workflow functions.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
*/
export declare function fetch(...args: Parameters<typeof globalThis.fetch>): Promise<Response>;
//# sourceMappingURL=stdlib.d.ts.map