Skip to content

Packages  ›  trotsky  ›  StepBuilderStream  ›  resolveOutput

StepBuilderStream.resolveOutput() method

Resolves the output of the current step from the given message.

Signature:

typescript
resolveOutput(message: JetstreamMessage): Promise<O>;

Parameters

Parameter

Type

Description

message

JetstreamMessage

The incoming Jetstream message.

Returns:

Promise<O>

A promise resolving to the step's output.