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
crates/cre8-app-provider/src/adapters/onchain/mempool_eth.rs
Items
const PROVIDER const READ_TIMEOUT_MS const RECONNECT_BACKOFF_MS const RECONNECT_MAX_BACKOFF_MS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 15 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| handle_socket_messagesrc/adapters/onchain/mempool_eth.rs:147 | fn | 9 | 2 | 2 | 2 | 1.6 | |
| run_live_attemptsrc/adapters/onchain/mempool_eth.rs:88 | fn | 16 | 4 | 2 | 5 | 1.2 | |
| handle_ready_messagesrc/adapters/onchain/mempool_eth.rs:157 | fn | 12 | 5 | 1 | 2 | 1.2 | |
| handle_socket_errorsrc/adapters/onchain/mempool_eth.rs:184 | fn | 7 | 2 | 1 | 2 | 1.2 | |
| read_socket_messagesrc/adapters/onchain/mempool_eth.rs:139 | fn | 7 | 2 | 1 | 1 | 1.1 | |
| handle_text_messagesrc/adapters/onchain/mempool_eth.rs:170 | fn | 13 | 2 | 1 | 4 | 1 | |
| wait_for_reconnectsrc/adapters/onchain/mempool_eth.rs:105 | fn | 8 | 3 | 2 | 0 | 0.9 | |
| emit_framesrc/adapters/onchain/mempool_eth.rs:192 | fn | 19 | 3 | 1 | 3 | 0.7 | |
| connect_and_subscribesrc/adapters/onchain/mempool_eth.rs:114 | fn | 15 | 1 | 1 | 2 | 0.7 | |
| read_until_stopsrc/adapters/onchain/mempool_eth.rs:130 | fn | 8 | 3 | 1 | 1 | 0.7 | |
| run_livesrc/adapters/onchain/mempool_eth.rs:81 | fn | 6 | 2 | 1 | 1 | 0.6 | |
| startsrc/adapters/onchain/mempool_eth.rs:48 | fn | 32 | 4 | 0 | 7 | 0.5 | |
| run_live_attempt_handles_invalid_url_without_networksrc/adapters/onchain/mempool_eth.rs:217 | fn | 16 | 1 | 0 | 2 | 0.5 | |
| socket_message_helper_covers_text_control_and_error_pathssrc/adapters/onchain/mempool_eth.rs:235 | fn | 34 | 2 | 0 | 3 | 0.5 | |
| reconnect_backoff_caps_and_respects_stop_signalsrc/adapters/onchain/mempool_eth.rs:271 | fn | 6 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.