runmat-core 0.4.5

Host-agnostic RunMat execution engine (parser, interpreter, snapshot loader)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod types;

use anyhow::Result;
use std::future::Future;
use std::pin::Pin;
use std::sync::Arc;

pub use types::*;

pub(crate) type SharedAsyncInputHandler = Arc<
    dyn Fn(InputRequest) -> Pin<Box<dyn Future<Output = Result<InputResponse, String>> + 'static>>
        + Send
        + Sync,
>;