bucharest-gold / lightbright

NO LONGER MAINTAINED: A utility providing filters for asynchronous hooks in process.binding('async_wrap')
0 stars 3 forks source link

Add a filter for provider type #2

Open lance opened 8 years ago

lance commented 8 years ago

The various provider types:

{ NONE: 0,
  CRYPTO: 1,
  FSEVENTWRAP: 2,
  FSREQWRAP: 3,
  GETADDRINFOREQWRAP: 4,
  GETNAMEINFOREQWRAP: 5,
  HTTPPARSER: 6,
  JSSTREAM: 7,
  PIPEWRAP: 8,
  PIPECONNECTWRAP: 9,
  PROCESSWRAP: 10,
  QUERYWRAP: 11,
  SHUTDOWNWRAP: 12,
  SIGNALWRAP: 13,
  STATWATCHER: 14,
  TCPWRAP: 15,
  TCPCONNECTWRAP: 16,
  TIMERWRAP: 17,
  TLSWRAP: 18,
  TTYWRAP: 19,
  UDPWRAP: 20,
  UDPSENDWRAP: 21,
  WRITEWRAP: 22,
  ZLIB: 23 }

https://github.com/nodejs/node/blob/master/src/async-wrap.h#L15-L39

helio-frota commented 7 years ago

bucharest-gold/entente#133