-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnode-api-domain.txt
46 lines (32 loc) · 2.02 KB
/
node-api-domain.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
*node-api-domain.txt* For Node.js module `Domain` version v3.3.0.
Node.js Documentation
https://nodejs.org
==============================================================================
CONTENTS *node-api-contents*
1. Intro |node-api-domain|
2. Methods |node-api-domain-methods|
2.1. domain.create() |node-api-domain.create()|
3. Properties |node-api-domain-properties|
==============================================================================
INTRO *node-api-domain*
Stability: 0 - Deprecated
**This module is pending deprecation**. Once a replacement API has been
finalized, this module will be fully deprecated. Most end users should
**not** have cause to use this module. Users who absolutely must have
the functionality that domains provide may rely on it for the time being
but should expect to have to migrate to a different solution
in the future.
Domains provide a way to handle multiple different IO operations as a
single group. If any of the event emitters or callbacks registered to a
domain emit an `error` event, or throw an error, then the domain object
will be notified, rather than losing the context of the error in the
`process.on('uncaughtException')` handler, or causing the program to
exit immediately with an error code.
==============================================================================
METHODS *node-api-domain-methods*
------------------------------------------------------------------------------
domain.create() *node-api-domain.create()*
Returns a new Domain object.
==============================================================================
PROPERTIES *node-api-domain-properties*
vim:tw=78:ts=8:ft=help