Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Farstrike 31dcfba683 Move mpos.apps functionality to PackageManager 2026-01-25 00:08:01 +01:00
Thomas Farstrike 43eb8220c8 Move mpos.apps.good_stack_size() to TaskManager.good_stack_size()
Trying to get every app-facing API as part of an object.
2026-01-24 19:10:51 +01:00
Thomas Farstrike 2d8a26b3cb TaskManager: return task just like asyncio.create_task() 2025-12-15 11:59:47 +01:00
Thomas Farstrike 658b999929 TaskManager: comments 2025-12-12 09:58:34 +01:00
Thomas Farstrike 7b4d08d432 TaskManager: add disable() functionality and fix unit tests 2025-12-11 22:07:04 +01:00
Thomas Farstrike 3cd66da3c4 TaskManager: simplify 2025-12-11 21:11:59 +01:00
Thomas Farstrike 8a72f3f343 TaskManager: add stop and start functions 2025-12-11 21:01:29 +01:00
Thomas Farstrike 7ba45e692e TaskManager: without new thread works but blocks REPL
aiorepl (asyncio REPL) works but it's pretty limited

It's probably fine for production, but it means the user has to sys.exit()
in aiorepl before landing on the real interactive REPL, with asyncio tasks stopped.
2025-12-11 19:02:40 +01:00
Thomas Farstrike 5936dafd7e TaskManager: normal stack size for asyncio thread 2025-12-11 14:37:41 +01:00
Thomas Farstrike 2a6aaab583 API: add TaskManager that wraps asyncio 2025-12-11 12:43:00 +01:00