Trait deno_cron::CronHandle

source ·
pub trait CronHandle {
    // Required methods
    fn next<'life0, 'async_trait>(
        &'life0 self,
        prev_success: bool
    ) -> Pin<Box<dyn Future<Output = Result<bool, AnyError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn close(&self);
}

Required Methods§

source

fn next<'life0, 'async_trait>( &'life0 self, prev_success: bool ) -> Pin<Box<dyn Future<Output = Result<bool, AnyError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn close(&self)

Implementors§