diff options
Diffstat (limited to 'runtime/ops/worker_host.rs')
-rw-r--r-- | runtime/ops/worker_host.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index cebce81a4..6c691c5a0 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -148,7 +148,6 @@ pub struct CreateWorkerArgs { fn op_create_worker( state: &mut OpState, args: CreateWorkerArgs, - _: (), ) -> Result<WorkerId, AnyError> { let specifier = args.specifier.clone(); let maybe_source_code = if args.has_source_code { @@ -265,7 +264,6 @@ fn op_create_worker( fn op_host_terminate_worker( state: &mut OpState, id: WorkerId, - _: (), ) -> Result<(), AnyError> { if let Some(worker_thread) = state.borrow_mut::<WorkersTable>().remove(&id) { worker_thread.terminate(); @@ -320,7 +318,6 @@ fn close_channel( async fn op_host_recv_ctrl( state: Rc<RefCell<OpState>>, id: WorkerId, - _: (), ) -> Result<WorkerControlEvent, AnyError> { let worker_handle = { let state = state.borrow(); @@ -352,7 +349,6 @@ async fn op_host_recv_ctrl( async fn op_host_recv_message( state: Rc<RefCell<OpState>>, id: WorkerId, - _: (), ) -> Result<Option<JsMessageData>, AnyError> { let worker_handle = { let s = state.borrow(); |