0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 01:44:26 -05:00
deno/core/runtime
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
..
bindings.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
bindings.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
encode_decode_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
error_builder_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
icudtl.dat chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
jsrealm.rs fix(core): Ensure we don't lose the waker when polling an empty JoinSet (#19655) 2023-06-29 16:01:54 +00:00
jsruntime.rs fix(core): Ensure we don't lose the waker when polling an empty JoinSet (#19655) 2023-06-29 16:01:54 +00:00
mod.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
ops.rs refactor(ops): op2 support for generics (#19636) 2023-06-29 10:23:14 -06:00
serialize_deserialize_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
snapshot_util.rs Revert "Reland "refactor(core): cleanup feature flags for js source i… (#19611) 2023-06-26 13:54:10 +02:00
tests.rs fix(core): Ensure we don't lose the waker when polling an empty JoinSet (#19655) 2023-06-29 16:01:54 +00:00