This represents a segment slice which can be used to read events from a Pravega segment as an iterator.
Individual events can be read from the Slice using the following snippets.
constseg_slice: Slice = awaitstream_reader.get_segment_slice(); for (consteventofseg_slice) { constraw_value: ArrayBuffer = event.data(); // do your things }
This represents a segment slice which can be used to read events from a Pravega segment as an iterator.
Individual events can be read from the Slice using the following snippets.