public ShellOperationAwaiter(EditorShell.Operation operation) { _operation = operation; }
private async Task <int> GetOperationTask(EditorShell.Operation operation) { int code = await operation; return(code); }
public ShellOperationYieldable(EditorShell.Operation operation) { _operation = operation; }
private async void KillAfter1Second(EditorShell.Operation operation) { await Task.Delay(1000); operation.Kill(); }