Skip to content

Packages  ›  trotsky  ›  StepBuilder  ›  withAgent

StepBuilder.withAgent() method

Updates the agent instance.

Signature:

typescript
withAgent(agent: AtpAgent): this;

Parameters

Parameter

Type

Description

agent

AtpAgent

The new instance.

Returns:

this

The current Trotsky instance.