mirror of
https://github.com/misskey-dev/misskey
synced 2024-06-29 21:59:59 +02:00
* chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
14 lines
369 B
TypeScript
14 lines
369 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
declare module 'redis-lock' {
|
|
import type Redis from 'ioredis';
|
|
|
|
type Lock = (lockName: string, timeout?: number, taskToPerform?: () => Promise<void>) => void;
|
|
function redisLock(client: Redis.Redis, retryDelay: number): Lock;
|
|
|
|
export = redisLock;
|
|
}
|