mirror of
https://github.com/lune-org/lune.git
synced 2025-04-10 21:40:54 +01:00
11 lines
316 B
Rust
11 lines
316 B
Rust
use mlua::prelude::*;
|
|
|
|
/// Internal message enum for the task scheduler, used to notify
|
|
/// futures to wake up and schedule their respective blocking tasks
|
|
#[derive(Debug, Clone)]
|
|
pub enum TaskSchedulerMessage {
|
|
NewBlockingTaskReady,
|
|
NewLuaErrorReady(LuaError),
|
|
Spawned,
|
|
Terminated(LuaResult<()>),
|
|
}
|