NPRPC docs

enum StreamInitProbeResult

Swift

enum StreamInitProbeResult

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

nprpc_swift/Sources/NPRPC/StreamReader.swift:574

Cases

case started

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

nprpc_swift/Sources/NPRPC/StreamReader.swift:576

case initError(any Error)

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

nprpc_swift/Sources/NPRPC/StreamReader.swift:578