add pear exit (#107)

This commit is contained in:
Vivek Singh
2024-05-09 18:19:23 +05:30
committed by GitHub
parent e5c142c9b3
commit 61da1fed26

View File

@@ -362,6 +362,10 @@ will be waited upon until resolution before calling the next teardown handler.
Restart the application.
### `Pear.exit(code)`
Exits the process with the provided exit code.
### `Pear.updates(listener <Async Function|Function>) => streamx.Readable`
The `listener` function is called for every incoming update with an `update` object of the form: