Packages › trotsky › StepTimeline › (constructor)
StepTimeline.(constructor)
Initializes the StepTimeline instance with the given agent, parent, and optional query parameters.
Signature:
typescript
constructor(agent: AtpAgent, parent: P, queryParams?: StepTimelineQueryParams);Parameters
Parameter | Type | Description |
|---|---|---|
agent | AtpAgent | The AT protocol agent used for API calls. |
parent | P | The parent step in the chain. |
queryParams | (Optional) Optional query parameters for the timeline (e.g., algorithm). |