1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Matt Mastracci fbb6932934
refactor(ops): op2 support for generics (#19636)
Implementation of generics for `#[op2]`, along with some refactoring to
improve the ergonomics of ops with generics parameters:

- The ops have generics on the struct rather than the associated
methods, which allows us to trait-ify ops (impossible when they are on
the methods)
- The decl() method can become a trait-associated const field which
unlocks future optimizations

Callers of ops need to switch from:
`op_net_connect_tcp::call::<TestPermission>(conn_state, ip_addr)` to
`op_net_connect_tcp::<TestPermission>::call(conn_state, ip_addr)`.
2023-06-29 10:23:14 -06:00
..
broadcast_channel refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566) 2023-06-22 23:37:56 +02:00
cache chore: forward v1.34.3 release commit to main (#19526) 2023-06-16 01:55:31 +02:00
console fix(console): correct the parseCssColor algorithm (#19645) 2023-06-28 19:46:30 -06:00
crypto chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
fetch refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566) 2023-06-22 23:37:56 +02:00
ffi chore: forward v1.34.3 release commit to main (#19526) 2023-06-16 01:55:31 +02:00
fs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
http chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
io chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
kv chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
napi chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
net refactor(ops): op2 support for generics (#19636) 2023-06-29 10:23:14 -06:00
node fix: lint on main branch (#19622) 2023-06-27 17:35:19 +09:00
tls chore: forward v1.34.3 release commit to main (#19526) 2023-06-16 01:55:31 +02:00
url chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
web chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
webidl chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
websocket fix(ext/websocket): Ensure that errors are available after async response returns (#19642) 2023-06-29 07:24:01 -06:00
webstorage chore: forward v1.34.3 release commit to main (#19526) 2023-06-16 01:55:31 +02:00