Move run to be async (#1913)

This commit is contained in:
Jonathan Turner
2020-05-29 20:22:52 +12:00
committed by GitHub
parent fbc0dd57e9
commit 360e8340d1
134 changed files with 305 additions and 157 deletions

View File

@ -13,6 +13,7 @@ struct RangeArgs {
pub struct Range;
#[async_trait]
impl WholeStreamCommand for Range {
fn name(&self) -> &str {
"range"
@ -30,7 +31,7 @@ impl WholeStreamCommand for Range {
"Return only the selected rows"
}
fn run(
async fn run(
&self,
args: CommandArgs,
registry: &CommandRegistry,