lenso-platform-runtime 0.1.13

Runtime function primitives for the Lenso backend framework.
Documentation
1
2
3
4
5
6
7
8
9
use async_trait::async_trait;
use platform_core::{AppResult, ExecutionContext};
use serde_json::Value;
use std::fmt::Debug;

#[async_trait]
pub trait RuntimeStore: Debug + Send + Sync {
    async fn enqueue_function(&self, ctx: ExecutionContext, input: Value) -> AppResult<()>;
}