/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/awake/Awake.ModuleServices/IAwakeService.cs
21 строка
709 B
Kai Tao
Cmdpal extension: Powertoys extension for cmdpal (#44006)
23 дек 2025, 16:07
Не верифицирован
23 дек 2025, 16:07
d87dde1
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using PowerToys.ModuleContracts; namespace Awake.ModuleServices; public interface IAwakeService : IModuleService { Task<OperationResult> SetIndefiniteAsync(CancellationToken cancellationToken = default); Task<OperationResult> SetTimedAsync(int minutes, CancellationToken cancellationToken = default); Task<OperationResult> SetOffAsync(CancellationToken cancellationToken = default); /// <summary> /// Gets the current state of the Awake module. /// </summary> AwakeState GetCurrentState(); }