Skip to content

Packages  ›  trotsky  ›  StepActor

StepActor class

Represents a step for retrieving and handling an actor's profile using the Bluesky API.

Signature:

typescript
export declare class StepActor<P = StepBuilder, C = null, O extends StepActorOutput = StepActorOutput> extends ActorMixins<P, C, O>

Extends: ActorMixins<P, C, O>

Constructors

Constructor

Modifiers

Description

(constructor)(agent, parent, param)

Initializes a new StepActor instance.

Methods

Method

Modifiers

Description

apply()

Applies the step by resolving the actor parameter and fetching the actor's profile. Sets the profile data as the output of this step.

clone(rest)

Clones the current step and returns a new instance with the same parameters.