Skip to main content

Writer

Defined in: types.ts:250

Output adapter interface. Writers receive the completed execution graph and persist it to their target (console, file, etc.).

Example​

const myWriter: Writer = {
write: async (graph) => { console.log(graph.id); },
};

Extended by​

Methods​

write()​

write(graph): Promise<void>

Defined in: types.ts:252

Write the execution graph to the output target.

Parameters​

ParameterType
graphExecutionGraph

Returns​

Promise<void>