async_graphql::resolver_utils

Function resolve_list

source
pub async fn resolve_list<'a, T: OutputType + 'a>(
    ctx: &ContextSelectionSet<'a>,
    field: &Positioned<Field>,
    iter: impl IntoIterator<Item = T>,
    len: Option<usize>,
) -> ServerResult<Value>
Expand description

Resolve an list by executing each of the items concurrently.