grpc.types.duration
Modules
Module grpc.types.duration
API
Definitions
This module provides APIs to represent google.protobuf.Duration type as a stream.
google.protobuf.Duration
Represents a stream of durations.
Initialize the stream.
init (stream<anydata, Error?> anydataStream)
function next() returns record {| value Seconds |}|Error?
Retrieve the next value of the stream.
function close() returns Error?
Close the stream.
Import
import ballerina/grpc.types.duration;
Metadata
Released date: 5 months ago
Version: 1.11.1
License: Apache-2.0
Compatibility
Platform: java17
Ballerina version: 2201.9.0
GraalVM compatible: Yes
Pull count
Total: 46515
Current verison: 961
Weekly downloads
Source repository
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors
Other versions
1.11.1
Dependencies