Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Houtamelo/gdext_coroutines
/ functions
Functions
46 in github.com/Houtamelo/gdext_coroutines
⨍
Functions
46
◇
Types & classes
14
↓ 43 callers
Function
log
(msg: impl std::fmt::Display)
rust/integration_tests/src/lib.rs:52
↓ 15 callers
Function
log_err
(msg: impl std::fmt::Display)
rust/integration_tests/src/lib.rs:56
↓ 14 callers
Function
frames
Yield for a number of frames. A frame equals a single [process](INode::process) or [physics_process](INode::physics_process) call, depending on the c
rust/src/yielding.rs:192
↓ 10 callers
Method
spawn
Completes the builder, spawning the coroutine's executor. The executor is the type [SpireCoroutine], a node that will be added as a child of `owner`.
rust/src/builder.rs:240
↓ 9 callers
Method
coroutine
( &self, f: impl 'static + Unpin + Coroutine<(), Yield = SpireYield, Return = R>, )
rust/src/start_coroutine.rs:78
↓ 8 callers
Method
start_coroutine
Spawns and starts a new coroutine with default settings. # Example ```no_run #![feature(coroutines)] use godot::prelude::*; use gdext_coroutines::pr
rust/src/start_coroutine.rs:29
↓ 6 callers
Method
auto_start
Whether the coroutine should be started automatically upon spawning. If false, you'll have to manually call [SpireCoroutine::resume] after spawning.
rust/src/builder.rs:120
↓ 5 callers
Function
seconds
Yield for a specific amount of engine time. The time counter is affected by [Engine::time_scale](Engine::get_time_scale) The time counter is also de
rust/src/yielding.rs:219
↓ 4 callers
Method
process_mode
Godot [ProcessMode] which the coroutine should run in.
rust/src/builder.rs:128
↓ 4 callers
Method
resume
(&mut self)
rust/src/coroutine.rs:111
↓ 3 callers
Method
de_spawn
(&mut self)
rust/src/coroutine.rs:190
↓ 3 callers
Method
kill
(&mut self)
rust/src/coroutine.rs:164
↓ 3 callers
Method
start_async_task
Starts a new async_task with default settings. # Example ```no_run #![feature(coroutines)] use godot::prelude::*; use gdext_coroutines::prelude::*;
rust/src/start_async_task.rs:27
↓ 2 callers
Method
finish_with
(&mut self, result: Variant)
rust/src/coroutine.rs:172
↓ 2 callers
Method
force_run_to_completion
(&mut self)
rust/src/coroutine.rs:129
↓ 2 callers
Method
is_finished
(&self)
rust/src/coroutine.rs:103
↓ 2 callers
Method
is_running
(&self)
rust/src/coroutine.rs:98
↓ 2 callers
Method
keep_waiting
(&mut self, _delta_time: f64)
rust/src/yielding.rs:32
↓ 2 callers
Method
resume_closure
(&mut self)
rust/src/coroutine.rs:280
↓ 2 callers
Method
run
(&mut self, delta_time: f64)
rust/src/coroutine.rs:200
↓ 2 callers
Function
wait_for_signal_untyped
Coroutine pauses execution until the given [Signal] is emitted. This is the untyped variant — accepts any `Signal` directly. See [wait_for_signal] f
rust/src/yielding.rs:77
↓ 2 callers
Method
wait_until_finished
(&self)
rust/src/yielding.rs:47
↓ 1 callers
Method
async_task
( &self, f: impl Future<Output = R> + 'static, )
rust/src/start_async_task.rs:70
↓ 1 callers
Method
on_finish
Adds `f` to the list of closures that will be invoked when the coroutine finishes. The return value of the coroutine(`T`) will be passed to `f`. [fi
rust/src/builder.rs:173
↓ 1 callers
Method
on_finish_callable
See [on_finish](SpireCoroutine::on_finish) This variant takes a [Callable] instead of a closure.
rust/src/builder.rs:202
↓ 1 callers
Method
pause
(&mut self)
rust/src/coroutine.rs:119
↓ 1 callers
Method
poll
(&mut self, delta_time: f64)
rust/src/coroutine.rs:206
↓ 1 callers
Function
test_1
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:63
↓ 1 callers
Function
test_2
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:173
↓ 1 callers
Function
test_3
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:212
↓ 1 callers
Function
test_4
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:284
↓ 1 callers
Function
test_5
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:359
↓ 1 callers
Function
test_6
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:429
↓ 1 callers
Function
wait_for_signal
Coroutine pauses execution until the given typed signal is emitted. Accepts a reference to a [TypedSignal], which can be obtained from a Godot class
rust/src/yielding.rs:109
↓ 1 callers
Function
wait_until
Coroutine resumes execution once `f` returns true. `f` is invoked whenever the coroutine is polled. If unpaused, the coroutine is polled either on [
rust/src/yielding.rs:168
↓ 1 callers
Function
wait_while
Coroutine pauses execution as long as `f` returns true. `f` is invoked whenever the coroutine is polled. If unpaused, the coroutine is polled either
rust/src/yielding.rs:142
Method
is_paused
(&self)
rust/src/coroutine.rs:90
Method
new_async_task
( owner: Gd<Node>, f: impl std::future::Future<Output = R> + 'static, )
rust/src/builder.rs:81
Method
new_coroutine
( owner: Gd<Node>, f: impl 'static + Unpin + Coroutine<(), Yield = SpireYield, Return = R>, )
rust/src/builder.rs:45
Function
next_frame
()
rust/src/yielding.rs:230
Method
physics_process
(&mut self, delta: f64)
rust/src/coroutine.rs:51
Method
poll_mode
Determines if the coroutine should be polled in [_process](INode::process) or [_physics_process](INode::physics_process)
rust/src/builder.rs:137
Method
process
(&mut self, delta: f64)
rust/src/coroutine.rs:45
Method
ready
(&mut self)
rust/integration_tests/src/lib.rs:46
Method
test_from_other_node
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:34
Method
test_routine
(&mut self)
rust/integration_tests/src/lib.rs:24