Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use async_trait::async_trait;
|
||||
use dagger_sdk::Container;
|
||||
use std::{future::Future, pin::Pin};
|
||||
use std::{future::Future, pin::Pin, sync::Arc};
|
||||
|
||||
pub type DynMiddleware = Box<dyn DaggerMiddleware + Send + Sync>;
|
||||
pub type DynMiddleware = Arc<dyn DaggerMiddleware + Send + Sync>;
|
||||
|
||||
#[async_trait]
|
||||
pub trait DaggerMiddleware {
|
||||
|
Reference in New Issue
Block a user