Packages › trotsky › StepPost › (constructor)
StepPost.(constructor)
Initializes the StepPost instance with the given agent, parent, and URI.
Signature:
typescript
constructor(agent: AtpAgent, parent: P, uri: Resolvable<StepPostUri>);
Parameters
Parameter | Type | Description |
---|---|---|
agent | AtpAgent | The AT protocol agent used for API calls. |
parent | P | The parent step in the chain. |
uri | Resolvable<StepPostUri> | The URI of the post to retrieve, possibly resolvable at runtime. |