Packages › trotsky › StepActorUnfollow › apply
StepActorUnfollow.apply() method
Applies the unfollow logic: 1. Retrieves the current actor's relationship with the specified context actor. 2. Checks if the current actor is indeed following the specified context actor. 3. If so, calls the API to remove the follow relationship.
Signature:
typescript
apply(): Promise<void>;
Returns:
Promise<void>
Exceptions
Error If no context is available for the step, indicating the actor is unknown.