Shortcuts

data.buffer.middleware.clone_object

clone_object

clone_object

ding.data.buffer.middleware.clone_object.clone_object()[source]
Overview:

This middleware freezes the objects saved in memory buffer and return copies during sampling, try this middleware when you need to keep the object unchanged in buffer, and modify the object after sampling it (usually in multiple threads)