nativeAsyncTimeoutMs property
Timeout in milliseconds for @nitroNativeAsync calls. When > 0, if the
native side fails to post a result within this window (a crashed or buggy
native impl), the returned Future completes with a TimeoutException
instead of hanging forever, and the underlying ReceivePort + per-call
error slot are released. Set to 0 (the default) to wait indefinitely —
the native contract is to post exactly one message, so this is opt-in
resilience against a misbehaving implementation.
Implementation
int nativeAsyncTimeoutMs = 0;