examples icon indicating copy to clipboard operation
examples copied to clipboard

example that demonstrates running background tasks alongside the web server

Open ivkovici opened this issue 5 years ago • 2 comments

ivkovici avatar Sep 08 '20 14:09 ivkovici

does it refer to running actix server on different thread and then starting something else in loop on different thread and then awaiting both in main thread? if yes i can give it a try

OutOfBoundCats avatar Mar 06 '22 02:03 OutOfBoundCats

the modern approach would probably be more like a separate task rather than thread but i would consider either

robjtede avatar Mar 06 '22 02:03 robjtede

Any progress on this?

DanWizard avatar Apr 26 '23 13:04 DanWizard

https://github.com/actix/examples/tree/master/background-jobs

robjtede avatar Apr 26 '23 13:04 robjtede