UNPKG

@magnetarjs/core

Version:
22 lines (21 loc) 711 B
import type { DoOnFetch, DoOnFetchAggregate, DoOnStream, FetchAggregateResponse, FetchResponse } from '@magnetarjs/types'; /** * DoOnStream type guard */ export declare function isDoOnStream(payload: any): payload is DoOnStream; /** * DoOnFetch type guard */ export declare function isDoOnFetchAggregate(payload: any): payload is DoOnFetchAggregate; /** * FetchResponse type guard */ export declare function isFetchAggregateResponse(payload: any): payload is FetchAggregateResponse; /** * DoOnFetch type guard */ export declare function isDoOnFetch(payload: any): payload is DoOnFetch; /** * FetchResponse type guard */ export declare function isFetchResponse(payload: any): payload is FetchResponse;