Standard library
protobuf.types.timestamp
Modules
protobuf.types.durationprotobuf.types.emptyprotobuf.types.struct
protobuf.types.timestamp
protobuf.types.wrappersModule protobuf.types.timestamp
ballerina/protobuf.types.timestamp
1.0.0
Classes
protobuf.types.timestamp: TimestampStream
Represents a stream of timestamps.
next
Isolated Function
function next() returns record {| value Utc |}|error?
Retrieve the next value of the stream.
Return Type
- record {| value Utc |}|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
Records
protobuf.types.timestamp: ContextTimestamp
Closed record
Context representation record of a timestamp.
Fields
- content Utc - The timestamp value
protobuf.types.timestamp: ContextTimestampStream
Closed record
Context representation record of a timestamp stream.