enhancementgood first issue
倉庫指標
- 星標
- (30 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
There is currently no way to handle system-signals in ASPL without custom implementation calls. I think this feature should be part of the standard library.
Example usage:
import os
os.register_signal_handler(Signal.Interrupt, callback(){
print("SIGINT detected...")
// TODO: Do something here
}