allocator | The allocator to use for the new stream. |
ObjectChangeEventStream A new stream that contains all events recorded in this instance at the time of the function call.
Copies the data collected in this instance into a new ObjectChangeEventStream instance.
Calling this method does not affect the internal state of this instance. You can construct multiple independent streams from one builder.