Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ next_delay
Method
next_delay
crates/opencode-session/src/retry.rs:149–151 ·
view source on GitHub ↗
(&self, error_info: Option<&ApiErrorInfo>)
Source
from the content-addressed store, hash-verified
147
}
148
149
pub fn next_delay(&self, error_info: Option<&ApiErrorInfo>) -> u64 {
150
delay(self.attempt, error_info)
151
}
152
}
Callers
nothing calls this directly
Calls
1
delay
Function · 0.70
Tested by
no test coverage detected