enqueue method
void
enqueue({
- required RelayerRequest relayerRequest,
- required int id,
- required Completer completer,
Implementation
void enqueue(
{required RelayerRequest relayerRequest,
required int id,
required Completer completer}) {
_queue.add(relayerRequest);
_messageHandlers[id] = completer;
_dequeue();
}