createQueueSignal<V> method

QueueSignal<V> createQueueSignal<V>(
  1. Queue<V> queue, {
  2. String? debugLabel,
  3. bool autoDispose = true,
})

Create a QueueSignal

Implementation

QueueSignal<V> createQueueSignal<V>(
  Queue<V> queue, {
  String? debugLabel,
  bool autoDispose = true,
}) {
  final s = QueueSignal<V>(
    queue,
    debugLabel: debugLabel,
    autoDispose: autoDispose,
  );
  _watch(s, true);
  return s;
}