Skip to content

Packages  ›  trotsky  ›  StepActorUnblock  ›  apply

StepActorUnblock.apply() method

Applies the unblock logic: 1. Retrieves the current block list. 2. Checks if the actor is actually blocked. 3. If blocked, deletes the block record to unblock the actor.

Signature:

typescript
apply(): Promise<void>;

Returns:

Promise<void>

Exceptions

Error If no context is available for the step, indicating the actor is unknown.