Class: ResultIterator

The result iterator object that is used to iterate through the results in the event stream.



  • customResultIterator CustomResultIterator?
  • The instance of the custom Ballerina class that is structurally equivalent to the customResultIterator object type. This instance includes a custom implementation of the nextResult method

function next() returns record {| value record {} |} | Error?
Isolated Function

Return Type

(record {| value record {} |} | Error?)


function close() returns Error?
Isolated Function

Return Type