newPortContinuation static method

JReference newPortContinuation(
  1. ReceivePort port
)

Returns a new PortContinuation.

Implementation

static JReference newPortContinuation(ReceivePort port) {
  ensureInitialized();
  return JGlobalReference(
    Jni._bindings
        .PortContinuation__ctor(port.sendPort.nativePort)
        .objectPointer,
  );
}