Added ability to synchronously flush AsyncEmitter