OutgoingHandler type

OutgoingHandler is an async function triggered by BufferScheduler.

type OutgoingHandler = (buffer: Buffer, offset?: undefined | number) => Promise<any>