Function: createNotifier() 
createNotifier():
object
Defined in: primitives/buffer.ts:449
Creates a simple asynchronous notifier for coordinating producers and consumers.
This utility allows asynchronous code to "wait" for a signal from another part of the application. It is useful for building custom buffers or streams where readers need to pause until new data is available.
Returns 
object
An object with methods to manage the notification state.
wait() 
wait: () =>
Promise<void>
Returns 
Promise<void>
signal() 
signal: () =>
undefined|void
Returns 
undefined | void
signalAll() 
signalAll: () =>
void
Returns 
void