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 CustomResultIterator object type. This instance includes a custom implementation of the nextResult method.

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

Return Type

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


function close() returns Error?
Isolated Function

Return Type