beacon-biosignals / OndaBatches.jl

Local and distributed batch loading for Onda datasets
MIT License
2 stars 0 forks source link

copy state on `start!` for local manager #26

Closed kleinschmidt closed 1 year ago

kleinschmidt commented 1 year ago

This adds a small check in start! that will copy the initial state if the manager PID is the same as the calling worker. This fixes #25 (and also adds tests to make sure we can reproduce that behavior)