emit abstract method

Future<void> emit(
  1. Object event
)

Emit emits an event onto the eventbus. If any stream subscribed to the topic is blocked, calls to Emit will block.

Calling this function with wrong event type will cause an error.

Implementation

Future<void> emit(Object event);