mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
add pear exit (#107)
This commit is contained in:
@@ -362,6 +362,10 @@ will be waited upon until resolution before calling the next teardown handler.
|
|||||||
|
|
||||||
Restart the application.
|
Restart the application.
|
||||||
|
|
||||||
|
### `Pear.exit(code)`
|
||||||
|
|
||||||
|
Exits the process with the provided exit code.
|
||||||
|
|
||||||
### `Pear.updates(listener <Async Function|Function>) => streamx.Readable`
|
### `Pear.updates(listener <Async Function|Function>) => streamx.Readable`
|
||||||
|
|
||||||
The `listener` function is called for every incoming update with an `update` object of the form:
|
The `listener` function is called for every incoming update with an `update` object of the form:
|
||||||
|
|||||||
Reference in New Issue
Block a user