Skip to content

Commit

Permalink
make new_boxed_executor an async trait function
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Feb 26, 2024
1 parent 1dd2c3d commit 5ccd05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stream/src/from_proto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ trait ExecutorBuilder {
type Node;

/// Create an [`Executor`] from [`StreamNode`].
fn new_boxed_executor(
async fn new_boxed_executor(
params: ExecutorParams,
node: &Self::Node,
store: impl StateStore,
) -> impl std::future::Future<Output = StreamResult<Executor>> + Send;
) -> StreamResult<Executor>;
}

macro_rules! build_executor {
Expand Down

0 comments on commit 5ccd05a

Please sign in to comment.