Skip to content

@checkout-kit/core / observeCheckout

Variable: observeCheckout ​

ts
const observeCheckout: (engine, report) => () => void;

Observe the lifecycle without serializing raw engine events. Returns one unsubscribe.

Parameters ​

ParameterType
enginePick<CheckoutEngine, "on">
report(event) => void

Returns ​

() => void

Apache-2.0 · Headless engine, provider adapters and runnable examples.