Standard library
grpc.types.duration
Modules
Module grpc.types.duration
ballerina/grpc.types.duration
1.0.0
Classes
grpc.types.duration: DurationStream
Represents a stream of durations.
next
Isolated Function
function next() returns record {| value Seconds |}|Error?
Retrieve the next value of the stream.
Return Type
- record {| value Seconds |}|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