Expand description
Resolve an list by executing each of the items concurrently.
src/types/external/list/btree_set.rs (
line 68)
63
64
65
66
67
68
69
async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
field: &Positioned<Field>,
) -> ServerResult<Value> {
resolve_list(ctx, field, self, Some(self.len())).await
}
More examples
Hide additional examples
src/types/external/list/hash_set.rs (
line 68)
63
64
65
66
67
68
69
async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
field: &Positioned<Field>,
) -> ServerResult<Value> {
resolve_list(ctx, field, self, Some(self.len())).await
}
src/types/external/list/hashbrown_hash_set.rs (
line 68)
63
64
65
66
67
68
69
async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
field: &Positioned<Field>,
) -> ServerResult<Value> {
resolve_list(ctx, field, self, Some(self.len())).await
}
src/types/external/list/linked_list.rs (
line 69)
64
65
66
67
68
69
70
async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
field: &Positioned<Field>,
) -> ServerResult<Value> {
resolve_list(ctx, field, self, Some(self.len())).await
}
src/types/external/list/vec.rs (
line 66)
61
62
63
64
65
66
67
async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
field: &Positioned<Field>,
) -> ServerResult<Value> {
resolve_list(ctx, field, self, Some(self.len())).await
}
src/types/external/list/vec_deque.rs (
line 69)
64
65
66
67
68
69
70
async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
field: &Positioned<Field>,
) -> ServerResult<Value> {
resolve_list(ctx, field, self, Some(self.len())).await
}
Additional examples can be found in: