mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
Add init methods for each op module (#3087)
This commit is contained in:
parent
04ed8d0531
commit
97d8498d46
20 changed files with 292 additions and 361 deletions
|
@ -104,9 +104,8 @@ impl Deref for ThreadSafeState {
|
|||
}
|
||||
|
||||
impl ThreadSafeState {
|
||||
// TODO: better name welcome
|
||||
/// Wrap core `OpDispatcher` to collect metrics.
|
||||
pub fn cli_op<D>(
|
||||
pub fn core_op<D>(
|
||||
&self,
|
||||
dispatcher: D,
|
||||
) -> impl Fn(&[u8], Option<PinnedBuf>) -> CoreOp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue