Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-tui/src/hooks/use_effect.rs:11–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
10
impl UseEffect {
11
pub fn new() -> Self {
12
Self {
13
cleanup: Rc::new(RefCell::new(None)),
14
}
15
}
16
17
pub fn run<F>(&self, effect: F)
18
where
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected