public static ICharacterOutDevice Open(out Tasks.Task <string> output) { var outputSource = new Tasks.TaskCompletionSource <string>(); output = outputSource.Task; return(CharacterOutDevice.Open(content => outputSource.SetResult(content))); }
public static Tuple <ICharacterOutDevice, Tasks.Task <string> > Open() { Tasks.Task <string> output; return(Tuple.Create(CharacterOutDevice.Open(out output), output)); }
public static ICharacterOutDevice Open(out Tasks.Task <string> output) { return(CharacterOutDevice.Open(out output)); }
public static Tuple <ICharacterOutDevice, Tasks.Task <string> > Open() { return(CharacterOutDevice.Open()); }
public static ICharacterOutDevice Open(Action <string> done) { return(CharacterOutDevice.Open(done)); }
public static ICharacterOutDevice Open(Action <char> next) { return(CharacterOutDevice.Open(next)); }