Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit a9e85ae

Browse files
authored
Remove unused trait (#13682)
1 parent 8bd5741 commit a9e85ae

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

primitives/core/src/traits.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -181,19 +181,6 @@ impl TaskExecutorExt {
181181
}
182182
}
183183

184-
/// Runtime spawn extension.
185-
pub trait RuntimeSpawn: Send {
186-
/// Create new runtime instance and use dynamic dispatch to invoke with specified payload.
187-
///
188-
/// Returns handle of the spawned task.
189-
///
190-
/// Function pointers (`dispatcher_ref`, `func`) are WASM pointer types.
191-
fn spawn_call(&self, dispatcher_ref: u32, func: u32, payload: Vec<u8>) -> u64;
192-
193-
/// Join the result of previously created runtime instance invocation.
194-
fn join(&self, handle: u64) -> Vec<u8>;
195-
}
196-
197184
/// Something that can spawn tasks (blocking and non-blocking) with an assigned name
198185
/// and optional group.
199186
#[dyn_clonable::clonable]

0 commit comments

Comments
 (0)