Skip to main content

platform_runtime/
store.rs

1use async_trait::async_trait;
2use platform_core::{AppResult, ExecutionContext};
3use serde_json::Value;
4use std::fmt::Debug;
5
6#[async_trait]
7pub trait RuntimeStore: Debug + Send + Sync {
8    async fn enqueue_function(&self, ctx: ExecutionContext, input: Value) -> AppResult<()>;
9}