Skip to content

Packages  ›  trotsky  ›  Trotsky  ›  actor

Trotsky.actor() method

Adds a StepActor step.

Signature:

typescript
actor(param: Resolvable<StepActorParam>): StepActor<this>;

Parameters

Parameter

Type

Description

param

Resolvable<StepActorParam>

Parameters for the actor step.

Returns:

StepActor<this>

The new StepActor instance.