@checkout-kit/core / RunnerContext
Interface: RunnerContext
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
deadline | readonly | number | Wall-clock deadline; runners must give up and report a timeout by then. |
mount | readonly | MountHandle | null | Where a visible action may render. null when the host offered no mount point. |
returnUrl | readonly | string | Absolute URL the provider should send the browser back to. Built by the host. |
signal | readonly | AbortSignal | - |
surface | readonly | ActionSurface | The surface actually chosen. Usually action.surface, but a host may move a frame challenge into the whole window, and the runner needs to know which it is running. |
Methods
report()
ts
report(progress): void;Parameters
| Parameter | Type |
|---|---|
progress | { detail?: string; stage: string; } |
progress.detail? | string |
progress.stage | string |
Returns
void