Skip to content

Packages  ›  trotsky  ›  Step  ›  withContext

Step.withContext() method

Sets the context.

Signature:

typescript
withContext(context: C): this;

Parameters

Parameter

Type

Description

context

C

The context object.

Returns:

this

The current Trotsky instance.