publishFromFuture method

EventBus publishFromFuture(
  1. Future<Object> future
)

Publishes the message after resolving a future.

Implementation

EventBus publishFromFuture(Future<Object> future) {
  future.then(publish);
  return this;
}