Trait deno_kv::QueueMessageHandle
source · pub trait QueueMessageHandle {
// Required methods
fn take_payload<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn finish<'life0, 'async_trait>(
&'life0 self,
success: bool
) -> Pin<Box<dyn Future<Output = Result<(), AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}