memoryEventBusFactory function

WorkflowEventBusFactory memoryEventBusFactory()

Creates a WorkflowEventBusFactory backed by InMemoryEventBus.

Implementation

WorkflowEventBusFactory memoryEventBusFactory() {
  return WorkflowEventBusFactory(
    create: (store) async => InMemoryEventBus(store),
  );
}