callbackSink
function callbackSink(send, kind?): AuditSink;Defined in: src/streams.ts:368
A sink that calls your function (tests, custom destinations).
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
send |
(batch) => void | Promise<void> |
undefined |
kind? |
string |
"callback" |