neuromodulation / py_neuromodulation

Real-time analysis of intracranial neurophysiology recordings.
https://neuromodulation.github.io/py_neuromodulation/
MIT License
47 stars 11 forks source link

add start and stop of stream #363

Closed timonmerk closed 1 month ago

timonmerk commented 2 months ago

WIP: I think we need to change the async run function. It blocks the app_backend until it completed, only afterwards it allows to call different fastAPI functions.

I am not sure this basically means that the run function really needs to be called within a process, which didn't work because of pickling errors...