mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Test processing of unprocessed envelopes
This commit is contained in:
@@ -42,13 +42,18 @@ export type CIType = {
|
||||
unlink: () => void;
|
||||
print: (...args: ReadonlyArray<unknown>) => void;
|
||||
resetReleaseNotesFetcher(): void;
|
||||
forceUnprocessed: boolean;
|
||||
};
|
||||
|
||||
export type GetCIOptionsType = Readonly<{
|
||||
deviceName: string;
|
||||
forceUnprocessed: boolean;
|
||||
}>;
|
||||
|
||||
export function getCI({ deviceName }: GetCIOptionsType): CIType {
|
||||
export function getCI({
|
||||
deviceName,
|
||||
forceUnprocessed,
|
||||
}: GetCIOptionsType): CIType {
|
||||
const eventListeners = new Map<string, Array<ResolveType>>();
|
||||
const completedEvents = new Map<string, Array<unknown>>();
|
||||
|
||||
@@ -208,5 +213,6 @@ export function getCI({ deviceName }: GetCIOptionsType): CIType {
|
||||
getPendingEventCount,
|
||||
print,
|
||||
resetReleaseNotesFetcher,
|
||||
forceUnprocessed,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user