Skip to main content
One journey instance. Each call reports one step. Invalid calls, calls after succeed(), and calls past 200 steps report nothing; with debug on, the SDK logs why.

Properties

string | null
required
The instance this handle reports to, or null when the handle is inert.
string
required
The journey key this handle reports.

Methods

attempt()

Reports that the customer tried action, a token. Call it before the request.

Parameters

string
required

fail()

Reports a failed attempt.

Parameters

succeed()

Reports success after the server confirms it. Success closes the instance.

Parameters