Skip to content

Commit 92356c9

Browse files
authored
Make run_processor in basic_processor_function.rs public (#147)
1 parent 6059694 commit 92356c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aptos-indexer-processors-sdk/sdk/src/postgres/basic_processor/basic_processor_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ where
7979
}
8080
}
8181

82-
async fn run_processor<F, Fut>(
82+
pub async fn run_processor<F, Fut>(
8383
processor_name: String,
8484
transaction_stream_config: TransactionStreamConfig,
8585
postgres_config: PostgresConfig,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub mod basic_processor_function;
22
pub mod basic_processor_step;
33

4-
pub use basic_processor_function::process;
4+
pub use basic_processor_function::{process, run_processor};

0 commit comments

Comments
 (0)