Standard library
grpc.types.wrappers
ballerina/grpc.types.wrappers
1.2.1
Overview
This module provides APIs to represent google/protobuf/wrappers.proto
types as a stream.
Classes
grpc.types.wrappers: BooleanStream
Represents a stream of booleans.
next
Isolated Function
Retrieve the next value of the stream.
Return Type
close
Isolated Function
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: BytesStream
Represents a stream of bytes.
next
Isolated Function
function next() returns record {| value byte[] |}|Error?
Retrieve the next value of the stream.
Return Type
- record {| value byte[] |}|Error? - Returns the next value of the stream or else an error
close
Isolated Function
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: FloatStream
Represents a stream of floats.
next
Isolated Function
Retrieve the next value of the stream.
close
Isolated Function
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: IntStream
Represents a stream of integers.
next
Isolated Function
Retrieve the next value of the stream.
close
Isolated Function
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: StringStream
Represents a stream of strings.
next
Isolated Function
Retrieve the next value of the stream.
close
Isolated Function
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream