We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae2bd55 commit c517931Copy full SHA for c517931
src/zend/fibers.rs
@@ -86,7 +86,7 @@ impl EventLoop {
86
}
87
88
pub fn suspend() {
89
- call_user_func!(Function::try_from_method("\\Revolt\\EventLoop", "getSuspension").unwrap()).unwrap().try_call_method("suspend", vec![]).unwrap();
+ call_user_func!(Function::from_method("\\Revolt\\EventLoop", "getSuspension")).unwrap().try_call_method("suspend", vec![]).unwrap();
90
91
92
pub fn get_sender(&self) -> Sender<u64> {
0 commit comments