Beispiel #1
0
        private FwaitPromise _Until(System.Func <bool> condition)
        {
            var promise = new FwaitPromise();

            promises.Add(index, promise);
            conditions.Add(index, condition);

            index++;

            return(promise);
        }
Beispiel #2
0
        private FwaitPromise _ForSecondsUnscaled(float seconds)
        {
            var promise = new FwaitPromise();

            promises.Add(index, promise);
            timersUnscaled.Add(index, seconds);
            timerUnscaledIndicies.Add(index);

            index++;

            return(promise);
        }