mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-29 10:09:49 +08:00
12 lines
278 B
C#
12 lines
278 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace BetterGenshinImpact.Core.Script.Dependence;
|
|
|
|
public class GlobalMethod
|
|
{
|
|
public static async Task Sleep(int millisecondsTimeout)
|
|
{
|
|
await Task.Delay(millisecondsTimeout, CancellationContext.Instance.Cts.Token);
|
|
}
|
|
}
|