diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-08-25 22:48:58 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-09-06 07:12:47 +0300 |
commit | 72650bcf7283c7b9eb9df9154f981eabdf8c523a (patch) | |
tree | 771b2eb895d9cc0d72a9bbf2d99ef2fba2939722 /src/env.h | |
parent | 754d5a9375beecd95ab7f26de769259ee090e5f6 (diff) |
worker: make transfer list behave like web MessagePort
Allow generic iterables as transfer list arguments, as well
as an options object with a `transfer` option, for web compatibility.
PR-URL: https://github.com/nodejs/node/pull/29319
Refs: https://github.com/nodejs/node/pull/28033#discussion_r289964991
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h index 15c2f953133..87d71bbc9fb 100644 --- a/src/env.h +++ b/src/env.h @@ -211,6 +211,7 @@ constexpr size_t kFsStatsBufferLength = V(dns_soa_string, "SOA") \ V(dns_srv_string, "SRV") \ V(dns_txt_string, "TXT") \ + V(done_string, "done") \ V(duration_string, "duration") \ V(emit_warning_string, "emitWarning") \ V(encoding_string, "encoding") \ @@ -272,6 +273,7 @@ constexpr size_t kFsStatsBufferLength = V(modulus_string, "modulus") \ V(name_string, "name") \ V(netmask_string, "netmask") \ + V(next_string, "next") \ V(nistcurve_string, "nistCurve") \ V(nsname_string, "nsname") \ V(ocsp_request_string, "OCSPRequest") \ @@ -353,6 +355,7 @@ constexpr size_t kFsStatsBufferLength = V(ticketkeycallback_string, "onticketkeycallback") \ V(timeout_string, "timeout") \ V(tls_ticket_string, "tlsTicket") \ + V(transfer_string, "transfer") \ V(ttl_string, "ttl") \ V(type_string, "type") \ V(uid_string, "uid") \ |