1#[cfg(feature = "time")]
2pub mod time;
3
4#[cfg(feature = "fs")]
5pub mod fs;
6
7#[cfg(feature = "process")]
8pub mod process;
9
10use barley_runtime::prelude::*;
11
12#[derive(Default)]
13pub struct Join;
14
15impl Join {
16 pub fn new() -> Self {
17 Self {}
18 }
19}
20
21#[async_trait]
22impl Action for Join {
23 async fn probe(&self, _runtime: Runtime) -> Result<Probe, ActionError> {
24 Ok(Probe {
25 needs_run: false,
26 can_rollback: false
27 })
28 }
29
30 async fn run(&self, _runtime: Runtime, _op: Operation) -> Result<Option<ActionOutput>, ActionError> {
31 Ok(None)
32 }
33
34 fn display_name(&self) -> String {
35 "".to_string()
36 }
37}