ordersSubscription property

Stream<Map<String, Order>> get ordersSubscription

Subscribe to changes in the orders assigned to the worker

Implementation

static Stream<Map<String, Order>> get ordersSubscription {
  return _ordersChannel.receiveBroadcastStream().map((event) {
    return deserializeOrders(event);
  });
}