Example #1
0
 public static Future <A> delayFrames <A>(int framesToSkip, A value) =>
 a <A>(p => ASync.AfterXFrames(framesToSkip, () => p.complete(value)));
Example #2
0
 public void afterXFrames(int framesToSkip, Action act) =>
 ASync.AfterXFrames(framesToSkip, act);
Example #3
0
 public static Future <A> delayFrames <A>(int framesToSkip, Fn <A> createValue) =>
 a <A>(p => ASync.AfterXFrames(framesToSkip, () => p.complete(createValue())));