suppose I have a basic emitter function that waits for some event(publish_report) to run another async function called B.
and emitting t