clearQueue static method

void clearQueue([
  1. String? id
])

Clear a queue. Use BleCommandQueue.globalQueueId to clear the global queue. To clear the queue of a specific device, use deviceId as id. If no id is provided, all queues will be cleared.

Implementation

static void clearQueue([String? id]) => _bleCommandQueue.clearQueue(id);