UNPKG

@livy/util

Version:
19 lines (18 loc) 566 B
import { LogRecord } from '@livy/contracts/lib/log-record'; import { Mixin } from '../mixin'; /** * Mixin which implements the `SyncHandlerInterface` by making the * `handle`/`handleBatchSync` method mirroring the `handle`/`handleBatch` method */ export declare const MirrorSyncHandlerMixin: Mixin.Wrapper<{ new (...args: any[]): { /** * @inheritdoc */ handle(record: LogRecord): Promise<boolean | void>; /** * @inheritdoc */ handleBatch(records: LogRecord[]): Promise<void>; }; }, []>;