What is Nostr?
Matthew Martin β˜‘ βœ…πŸ“› /
npub1anj…k3c3
2024-08-19 23:06:32

Matthew Martin β˜‘ βœ…πŸ“› on Nostr: IDEA: python has atexit() but nothing onstartup(). Dotnet has ...

IDEA: python has atexit() but nothing onstartup(). Dotnet has PreApplicationStartMethod() and other events early in the process/app/thread's life cycle.

Maybe if I wrote an app that hosted a single process, like a gunicorn for CLI commands. And then it could have middleware and events to hook into.
Author Public Key
npub1anj34n7xep997cj6w4d7mysld6kx48d2d7ggzuz8jqwmuq332ghs5tk3c3