예제 #1
0
        public static RuntimeExecutionHandle Enqueue(Action action, int milliseconds, RuntimeExecutionFlags flags)
        {
            RuntimeExecution current = EnsureInstance();

            return(current.Enqueue(RuntimeRealm.Current, action, milliseconds, flags));
        }
예제 #2
0
        public static void Enqueue(Action action, Task task)
        {
            RuntimeExecution current = EnsureInstance();

            current.Enqueue(RuntimeRealm.Current, action, task);
        }