UNPKG

moleculer-api

Version:

A dynamic API Gateway for MoleculerJS which updates REST endpoints and aggregated GraphQL schema, access control policy for each action calls from metadata of remote services schema without restart or deployment.

7 lines (6 loc) 264 B
export declare type AsyncIteratorComposeItem<T> = { iterator: AsyncIterator<T>; filter?: ((value: T) => boolean); map?: ((value: T) => any); }; export declare function composeAsyncIterators<T>(items: AsyncIteratorComposeItem<T>[]): AsyncIterator<any>;