MCPcopy Create free account
hub / github.com/NthTensor/Forte / push_shared_job

Method push_shared_job

src/thread_pool.rs:200–209  ·  view source on GitHub ↗
(&'static self, job_ref: JobRef)

Source from the content-addressed store, hash-verified

198 }
199 }
200
201 /// Registers a callback to be invoked (via [`handle_panic`]) with the
202 /// payload of panics that have nowhere to propagate, such as panics from
203 /// closures or futures passed to [`spawn`]. This replaces any previously
204 /// registered handler.
205 ///
206 /// If no handler is registered, such panics abort the process.
207 ///
208 /// The handler must not panic; if it does, the process aborts.
209 ///
210 /// [`handle_panic`]: ThreadPool::handle_panic
211 /// [`spawn`]: ThreadPool::spawn
212 pub fn set_panic_handler<H>(&self, handler: H)

Callers 2

spawnMethod · 0.80
spawnMethod · 0.80

Calls 2

signalMethod · 0.80
get_member_dataMethod · 0.80

Tested by

no test coverage detected