@salutejs/client
Version:
Модуль взаимодействия с виртуальным ассистентом
5 lines • 367 B
TypeScript
import { createMutexedObject } from './mutexedObject';
export declare const createMutexSwitcher: <Deps extends Record<string, boolean>>({ lock, release }: Pick<ReturnType<typeof createMutexedObject>, 'lock' | 'release'>, initialDeps: Deps) => {
change: (nextDeps: Partial<{ [key in keyof Deps]: boolean; }>) => void;
};
//# sourceMappingURL=mutexSwitcher.d.ts.map