Function: voidEmitter()

voidEmitter(): object

Creates a void emitter.

Returns

object

publish()

publish: () => void

Returns

void

subscribe()

subscribe: (cb) => void

Parameters

ParameterType
cb() => void

Returns

void