1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
Commit graph

22 commits

Author SHA1 Message Date
Aaron O'Mullan
fa6274cffe
cleanup(ops): match variations with regexes (#14888) 2022-06-16 19:40:26 +02:00
Divy Srivastava
364da468d2
feat(ops): support Result<impl Future<Output = Result<T, AnyError>> + 'static, AnyError> (#14869)
feat(ops): support a result returning a future returning a result
2022-06-16 17:04:55 +02:00
Divy Srivastava
753f32024f
feat(ops): 'hybrid' ops - sync returning future (#14640) 2022-06-08 07:58:26 +05:30
Nayeem Rahman
9385a91312
refactor(core): Move Deno.core bindings to ops (#14793) 2022-06-07 11:25:10 +02:00
Ikko Ashimine
d78fd8ec39
chore(ops): fix typo in lib.rs (#14777) 2022-06-02 17:58:19 +05:30
Aapo Alasuutari
6fff813029
cleanup(ops): shorter codegen'd infallible sync ops return (#14587)
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-12 21:51:57 +02:00
Aaron O'Mullan
f18d0539b1
cleanup(ops): simpler is_unit_result() (#14586)
Rough token-string matching is robust enough and much easier to grok
2022-05-12 20:22:42 +02:00
Aaron O'Mullan
c6063e390a
feat(ops): infallible / result-free ops (#14585) 2022-05-12 19:13:25 +02:00
Aaron O'Mullan
5e6d3d42c7
feat(ops): #[op(v8)] (#14582) 2022-05-12 19:06:42 +02:00
Divy Srivastava
3166506980
feat(ops): allow passing scope handle to ops (#14574) 2022-05-12 16:06:09 +05:30
Aaron O'Mullan
e04f1f1f34
feat(ops): sync Rc<RefCell<OpState>> (#14438) 2022-05-05 02:44:34 +02:00
Divy Srivastava
2eb8c3b82f
chore(ext/fetch): custom arity (#14198) 2022-04-23 22:19:06 +05:30
Aaron O'Mullan
f5f7b56aca
refactor(core): OpCtx (#14228) 2022-04-08 10:32:48 +02:00
Aaron O'Mullan
25b6b2ed66
feat(ops): #[op(unstable)] (#14124) 2022-04-02 00:09:21 +02:00
Aaron O'Mullan
f81334d5bd
feat(core): disableable extensions & ops (#14063)
Streamlines a common middleware pattern and provides foundations for avoiding variably sized v8::ExternalReferences & enabling fully monomorphic op callpaths
2022-03-22 16:39:58 +01:00
Divy Srivastava
7c2722201e
chore(ops): hide implementation details from rustdoc (#14038)
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-19 22:13:53 +01:00
Aaron O'Mullan
52459faf0b
fix(ops): throw TypeError on op return failure (#14033)
Fixes #14028
2022-03-19 15:59:44 +01:00
Divy Srivastava
2799b0b7b4
chore(ops): include argument position in serde_v8 errors (#14027) 2022-03-18 20:53:31 +05:30
Aaron O'Mullan
bd481bf095
feat(ops): optional OpState (#13954) 2022-03-16 00:33:46 +01:00
Aaron O'Mullan
bb53135ed8
cleanup(core): OpPair => OpDecl (#13952) 2022-03-15 23:43:17 +01:00
Aaron O'Mullan
88d0f01948
feat(ops): custom arity (#13949)
Also cleanup & drop ignored wildcard op-args
2022-03-14 23:38:53 +01:00
Divy Srivastava
b4e42953e1
feat(core): codegen ops (#13861)
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-14 18:44:15 +01:00