NPRPC docs

enum StreamInitProbeResult

Swift

enum StreamInitProbeResult

Result of probing whether a stream servant method failed during init.

nprpc_swift/Sources/NPRPC/StreamReader.swift:651

Cases

case started

Method suspended on first stream read (or completed without error).

nprpc_swift/Sources/NPRPC/StreamReader.swift:653

case initError(any Error)

Method threw before any stream I/O — encode as StreamInit Exception.

nprpc_swift/Sources/NPRPC/StreamReader.swift:655