shouldCreateNodeOnSend method

bool shouldCreateNodeOnSend(
  1. String address
)

Whether send should create a node when the topic has none.

A model bus stores every event it sends, so it creates the node. A transport bus overrides this to create a node only for topics it actually knows. With the default false, send to a topic without a node returns null, exactly like the local bus.

Implementation

bool shouldCreateNodeOnSend(String address) => isModelBus;