Add WriteTimeoutPolicy enum, FlushResult record struct, and GetWriteTimeoutPolicy static method as nested types in NatsClient. Models Go's client.go per-kind timeout handling: CLIENT kind closes on timeout, ROUTER/GATEWAY/LEAF use TCP-level flush recovery.
2.5 KiB
2.5 KiB