BasicBus constructor

BasicBus({
  1. List<BusOption>? options,
})

Creates a new BasicBus with the given options

Implementation

BasicBus({List<BusOption>? options}) : _metricsTracer = null {
  if (options != null) {
    for (final opt in options) {
      opt(this);
    }
  }
}