pollTimeout method

int? pollTimeout()

When tick next has something to do, or null when nothing is scheduled.

Implementation

int? pollTimeout() {
  _alive();
  final out = calloc<Uint64>();
  try {
    return _bindings.pollTimeout(_handle, out) ? out.value : null;
  } finally {
    calloc.free(out);
  }
}