@incremunica/context-entries
Version:
A collection of reusable Incremunica context key definitions.
25 lines (24 loc) • 1.02 kB
TypeScript
import { ActionContextKey } from '@comunica/core';
import type { BindingsOrder, IDetermineChangesEvents, ISourceWatchEventEmitter, MatchOptions } from '@incremunica/types';
/**
* When adding entries to this file, also add a shortcut for them in the contextKeyShortcuts TSDoc comment in
* ActorIniQueryBase in @comunica/actor-init-query if it makes sense to use this entry externally.
* Also, add this shortcut to IQueryContextCommon in @comunica/types.
*/
export declare const KeysDetermineChanges: {
/**
* Events sent by the determine-changes actor.
*/
events: ActionContextKey<IDetermineChangesEvents>;
};
export declare const KeysStreamingSource: {
matchOptions: ActionContextKey<MatchOptions[]>;
};
export declare const KeysBindings: {
isAddition: ActionContextKey<boolean>;
order: ActionContextKey<BindingsOrder>;
};
export declare const KeysSourceWatch: {
pollingPeriod: ActionContextKey<number>;
deferredEvaluationTrigger: ActionContextKey<ISourceWatchEventEmitter>;
};