1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-runtime-system/src/async_island/mod.rs
Items
const ENV_WORKER_COUNT const ENV_MAX_PENDING_TASKS const DEFAULT_WORKER_COUNT const MAX_WORKER_COUNT const DEFAULT_MAX_PENDING_TASKS const MAX_PENDING_TASKS const SHUTDOWN_JOIN_TIMEOUT_MS struct AsyncIslandConfig impl Default for AsyncIslandConfig impl AsyncIslandConfig struct IslandInner struct AsyncIsland impl AsyncIsland impl Drop for AsyncIsland struct SpawnWrapper impl Future for SpawnWrapper struct NoopWake impl Wake for NoopWake
Functions
By call-graph weight (PageRank; 1.0 is the average function). 36 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| AsyncIsland::with_job_poolsrc/async_island/mod.rs:161 | method | 3 | 1 | 1 | 2 | 47.2 | |
| AsyncIsland::newsrc/async_island/mod.rs:125 | method | 3 | 1 | 4 | 2 | 21.8 | |
| AsyncIslandConfig::defaultsrc/async_island/mod.rs:65 | trait impl | 7 | 1 | 1 | 2 | 20.6 | |
| AsyncIsland::new_with_max_pendingsrc/async_island/mod.rs:129 | method | 31 | 5 | 3 | 2 | 10 | |
| max_pending_tasks_from_envsrc/async_island/mod.rs:88 | fn | 6 | 1 | 1 | 2 | 9.8 | |
| parse_bounded_worker_countsrc/async_island/mod.rs:80 | fn | 7 | 2 | 2 | 0 | 9.6 | |
| parse_bounded_max_pending_taskssrc/async_island/mod.rs:95 | fn | 7 | 2 | 2 | 0 | 5.1 | |
| worker_loopsrc/async_island/mod.rs:327 | fn | 17 | 3 | 1 | 3 | 4.7 | |
| AsyncIsland::spawn_innersrc/async_island/mod.rs:188 | method | 27 | 5 | 2 | 4 | 3 | |
| AsyncIsland::block_onsrc/async_island/mod.rs:219 | method | 17 | 1 | 12 | 1 | 2.4 | |
| islandsrc/async_island/mod.rs:432 | fn | 4 | 1 | 8 | 2 | 2 | |
| AsyncIsland::spawn_blockingsrc/async_island/mod.rs:244 | method | 33 | 3 | 4 | 3 | 1.4 | |
| panic_messagesrc/async_island/mod.rs:390 | fn | 9 | 3 | 2 | 0 | 1.3 | |
| AsyncIsland::try_reserve_pending_slotsrc/async_island/mod.rs:287 | method | 12 | 3 | 1 | 0 | 1.1 | |
| AsyncIsland::shutdownsrc/async_island/mod.rs:281 | method | 5 | 1 | 1 | 1 | 0.7 | |
| AsyncIsland::max_pending_taskssrc/async_island/mod.rs:169 | method | 3 | 1 | 1 | 0 | 0.6 | |
| AsyncIsland::pending_taskssrc/async_island/mod.rs:173 | method | 3 | 1 | 1 | 0 | 0.6 | |
| AsyncIslandConfig::normalizedsrc/async_island/mod.rs:75 | method | 3 | 1 | 0 | 0 | 0.5 | |
| AsyncIsland::configsrc/async_island/mod.rs:165 | method | 3 | 1 | 0 | 0 | 0.5 | |
| AsyncIsland::spawnsrc/async_island/mod.rs:180 | method | 7 | 1 | 0 | 1 | 0.5 | |
| AsyncIsland::dropsrc/async_island/mod.rs:302 | trait impl | 23 | 7 | 0 | 2 | 0.5 | |
| SpawnWrapper::pollsrc/async_island/mod.rs:356 | trait impl | 32 | 6 | 0 | 1 | 0.5 | |
| worker_count_parser_clamps_extremessrc/async_island/mod.rs:438 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| block_on_resolves_simple_futuresrc/async_island/mod.rs:451 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| max_pending_parser_clamps_extremessrc/async_island/mod.rs:458 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| spawn_returns_join_handle_with_resultsrc/async_island/mod.rs:466 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| explicit_config_is_normalizedsrc/async_island/mod.rs:474 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| join_handle_is_finished_after_completionsrc/async_island/mod.rs:485 | fn | 13 | 3 | 0 | 2 | 0.5 | |
| spawn_over_pending_cap_returns_cancelled_handlesrc/async_island/mod.rs:500 | fn | 25 | 1 | 0 | 4 | 0.5 | |
| NoopWake::wakesrc/async_island/mod.rs:506 | trait impl | 1 | 1 | 0 | 0 | 0.5 | |
| pending_task_without_retained_waker_releases_slotsrc/async_island/mod.rs:527 | fn | 17 | 3 | 0 | 4 | 0.5 | |
| spawn_blocking_runs_on_dispatch_and_resolvessrc/async_island/mod.rs:546 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| spawned_panic_surfaces_as_join_errorsrc/async_island/mod.rs:563 | fn | 12 | 2 | 0 | 2 | 0.5 | |
| spawn_blocking_panic_surfaces_as_join_errorsrc/async_island/mod.rs:577 | fn | 12 | 2 | 0 | 3 | 0.5 | |
| many_spawns_completesrc/async_island/mod.rs:591 | fn | 16 | 3 | 0 | 2 | 0.5 | |
| many_spawn_blocking_complete_via_dispatchsrc/async_island/mod.rs:609 | fn | 19 | 3 | 0 | 3 | 0.5 |
Source not readable from this process.