function createObjectBidiStream
Swift
func createObjectBidiStream<TWrite, TRead>(objectHandle: UnsafeMutableRawPointer, streamId: UInt64, buffer: FlatBuffer, initialPayloadCapacity: Int, unreliable: Bool = false, serializer: @escaping (FlatBuffer, Int, TWrite) -> Void, deserializer: @escaping (UnsafeRawPointer, Int) -> TRead) throws -> NPRPCBidiStream<TWrite, TRead> where TWrite : Sendable, TRead : Sendable
Both halves of a bidi stream opened through a proxy's object handle. Used by generated code.
nprpc_swift/Sources/NPRPC/StreamReader.swift:717