Struct async_graphql::extensions::NextSubscribe
source · pub struct NextSubscribe<'a> { /* private fields */ }
Expand description
The remainder of a extension chain for subscribe.
Implementations§
source§impl<'a> NextSubscribe<'a>
impl<'a> NextSubscribe<'a>
sourcepub fn run<'s>(
self,
ctx: &ExtensionContext<'_>,
stream: BoxStream<'s, Response>
) -> BoxStream<'s, Response>
pub fn run<'s>( self, ctx: &ExtensionContext<'_>, stream: BoxStream<'s, Response> ) -> BoxStream<'s, Response>
Call the Extension::subscribe function of next extension.