Skip to content

Packages  ›  trotsky  ›  StepPosts  ›  (constructor)

StepPosts.(constructor)

Initializes the StepPost instance with the given agent, parent, and URI.

Signature:

typescript
constructor(agent: AtpAgent, parent: P, uris?: Resolvable<StepPostsUris>);

Parameters

Parameter

Type

Description

agent

AtpAgent

The AT protocol agent used for API calls.

parent

P

The parent step in the chain.

uris

Resolvable<StepPostsUris>

(Optional) The URIs of the post sto retrieve, possibly resolvable at runtime.