UNPKG

@graphql-mesh/utils

Version:
2 lines (1 loc) 124 B
export declare function withCancel<T>(asyncIterable: AsyncIterable<T>, onCancel: () => void): AsyncIterable<T | undefined>;