tardis-dev
Version:
Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js
24 lines • 684 B
TypeScript
import type { DataFeedCompression } from './options.ts';
import { Exchange, Filter } from './types.ts';
export type WorkerMessage = {
sliceKey: string;
slicePath: string;
sliceSize: number;
};
export type WorkerJobPayload = {
cacheDir: string;
endpoint: string;
apiKey: string;
dataFeedCompression: DataFeedCompression;
userAgent: string;
fromDate: Date;
toDate: Date;
exchange: Exchange;
filters: Filter<any>[];
waitWhenDataNotYetAvailable?: boolean | number;
};
export declare const enum WorkerSignal {
BEFORE_TERMINATE = "BEFORE_TERMINATE",
READY_TO_TERMINATE = "READY_TO_TERMINATE"
}
//# sourceMappingURL=worker.d.ts.map