예제 #1
0
 public override Completion <TResult> Select <TResult>(Completion <T> result, Func <T, TResult> func) => interrupted <TResult>(exception);
예제 #2
0
 public override bool ValueEqualTo(Completion <T> otherCompletion) => false;
예제 #3
0
 public override Completion <T> Or(Completion <T> other) => other;
예제 #4
0
 public override bool NotCompleted(out Completion <T> notCompleted)
 {
     notCompleted = this;
     return(true);
 }
예제 #5
0
 public override bool IsCompleted(out Completion <T> completed)
 {
     completed = this;
     return(false);
 }
예제 #6
0
 public override bool Else <TOther>(out Completion <TOther> result)
 {
     result = interrupted <TOther>(exception);
     return(true);
 }
예제 #7
0
 public override Completion <TResult> Select <TResult>(Completion <T> result, Func <T, TResult> func) => cancelled <TResult>();
예제 #8
0
 public override bool Else <TOther>(out Completion <TOther> result)
 {
     result = cancelled <TOther>();
     return(true);
 }