signal-desktop/ts/util/drop.ts
2022-12-21 10:41:48 -08:00

8 lines
258 B
TypeScript

// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// Use this function when asynchronous action has to run without blocking its
// parent.
export function drop(promise: Promise<unknown> | undefined): void {
void promise;
}