UNPKG

@tokens-studio/graph-engine

Version:

An execution engine to handle Token Studios generators and resolvers

25 lines 671 B
import { INodeDefinition, ToInput, ToOutput } from '../../index.js'; import { Node } from '../../programmatic/node.js'; /** * A node that passes through the input to the output. */ export default class NodeDefinition<T> extends Node { static title: string; static type: string; static description: string; inputs: ToInput<{ value: T; /** * The delay in milliseconds * @default 1000 */ delay: number; }>; outputs: ToOutput<{ value: T; }>; _interval: NodeJS.Timer | null; constructor(props: INodeDefinition); execute(): Promise<void>; } //# sourceMappingURL=delay.d.ts.map