API reference@siftline/core/testingFunctions
createRecordingClient
function createRecordingClient(
inner,
sink,
options?
): SystemOneClient;Wraps a live client and hands one replay line per call to sink. The live test's half.
Parameters
| Parameter | Type |
|---|---|
inner | SystemOneClient |
sink | (line) => void |
options | RecordingOptions |