node/doc/api/all.markdown

39 lines
606 B
Markdown
Raw Normal View History

2012-02-28 03:06:14 +08:00
@include documentation
@include synopsis
@include globals
@include console
@include timers
@include modules
@include addons
@include process
@include util
@include events
Domain feature This is a squashed commit of the main work done on the domains-wip branch. The original commit messages are preserved for posterity: * Implicitly add EventEmitters to active domain * Implicitly add timers to active domain * domain: add members, remove ctor cb * Don't hijack bound callbacks for Domain error events * Add dispose method * Add domain.remove(ee) method * A test of multiple domains in process at once * Put the active domain on the process object * Only intercept error arg if explicitly requested * Typo * Don't auto-add new domains to the current domain While an automatic parent/child relationship is sort of neat, and leads to some nice error-bubbling characteristics, it also results in keeping a reference to every EE and timer created, unless domains are explicitly disposed of. * Explicitly adding one domain to another is still fine, of course. * Don't allow circular domain->domain memberships * Disposing of a domain removes it from its parent * Domain disposal turns functions into no-ops * More documentation of domains * More thorough dispose() semantics * An example using domains in an HTTP server * Don't handle errors on a disposed domain * Need to push, even if the same domain is entered multiple times * Array.push is too slow for the EE Ctor * lint domain * domain: docs * Also call abort and destroySoon to clean up event emitters * domain: Wrap destroy methods in a try/catch * Attach tick callbacks to active domain * domain: Only implicitly bind timers, not explicitly * domain: Don't fire timers when disposed. * domain: Simplify naming so that MakeCallback works on Timers * Add setInterval and nextTick to domain test * domain: Make stack private
2012-04-07 07:26:18 +08:00
@include domain
2012-02-28 03:12:35 +08:00
@include buffer
2012-02-28 03:18:10 +08:00
@include stream
@include crypto
2010-12-11 18:32:48 +08:00
@include tls
@include string_decoder
@include fs
@include path
@include net
@include dgram
@include dns
@include http
2011-01-22 10:16:56 +08:00
@include https
@include url
@include querystring
2012-05-26 12:56:41 +08:00
@include punycode
@include readline
@include repl
@include vm
2012-02-28 03:04:08 +08:00
@include child_process
@include assert
2010-12-11 18:32:48 +08:00
@include tty
2011-10-01 08:01:07 +08:00
@include zlib
2010-12-11 18:32:48 +08:00
@include os
2010-12-31 10:46:49 +08:00
@include debugger
2011-11-08 05:54:34 +08:00
@include cluster
@include smalloc
@include v8