Version: 2021.3

参数

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.