Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

reserve_call

cre8_app_messaging::budget::reserve_call

fn · cre8-app-messaging · crates/cre8-app-messaging/src/budget.rs:87 pub

42lines
5cyclomatic
3max nesting
17statements
0? exits
3params
7callers
4callees
1.4 (p89)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (7 direct callers, 4 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 4 sitesname · 3 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitemethod · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitesname · 1 siterunapp-messaging · cc 2cre8_app_messaging::send_batch::runrun_capturingapp-messaging · cc 1cre8_app_messaging::send_batch::tests::run_capturingdispatch_message_actionapp-messaging · cc 8cre8_app_messaging::connection::dispatch_message_actionrun_blocking_guardsapp-social · cc 3cre8_app_social::bot::guards::run_blocking_guardsinvalid_and_duplicate_recip…app-messaging · cc 1cre8_app_messaging::send_batch::tests::invalid_and_duplicate_recipients_are_reported_and_a_failed_request_fails_its_chunka_provider_that_answers_per…app-messaging · cc 2cre8_app_messaging::send_batch::tests::a_provider_that_answers_per_recipient_fails_only_the_refused_onesrun_withapp-messaging · cc 16cre8_app_messaging::send_batch::run_withreserve_bot_action_budgetapp-social · cc 2cre8_app_social::bot::guards::reserve_bot_action_budgetrun_sendapp-messaging · cc 3cre8_app_messaging::connection::run_sendfree_provider_always_succee…app-messaging · cc 2cre8_app_messaging::budget::tests::free_provider_always_succeedschannel_specific_cap_blocks…app-messaging · cc 1cre8_app_messaging::budget::tests::channel_specific_cap_blocks_overageprovider_wide_cap_covers_al…app-messaging · cc 1cre8_app_messaging::budget::tests::provider_wide_cap_covers_all_channelspersist_and_load_today_tall…app-messaging · cc 2cre8_app_messaging::budget::tests::persist_and_load_today_tallies_round_trip_through_graphreserve_callapp-messaging · cc 5cre8_app_messaging::budget::reserve_callMutex::lock_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::Mutex::lock_or_recoverbudget_stateapp-messaging · cc 1cre8_app_messaging::budget::budget_statetoday_bucketapp-messaging · cc 4cre8_app_messaging::budget::today_bucketcap_cents_forapp-messaging · cc 7cre8_app_messaging::budget::cap_cents_forvar_optplatform-env · cc 2cre8_platform_env::var_optwarn_onceutil-lock-ext · cc 3cre8_util_lock_ext::warn_oncevar_resultplatform-env · cc 1cre8_platform_env::var_resultnow_secsplatform-time · cc 1cre8_platform_time::now_secs

Control flow

Source not readable from this process.

Callers 7

Callees 4

Source not readable from this process.