EpollIsolate.fromIsolateArgs constructor

EpollIsolate.fromIsolateArgs(
  1. Tuple3<SendPort, int, int> args
)

Implementation

EpollIsolate.fromIsolateArgs(Tuple3<SendPort, int, int> args)
    : _sendPort = args.item1,
      _epollFd = args.item2,
      _eventFd = args.item3 {
  _subscription = _receivePort.listen((message) {
    assert(message is _Cmd);
    _cmdQueue.add(message);
  });
}