You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a usecase, where a prompt is displayed and an input is required. If the input doesn't happen in a specified time, the prompt should close and return null.
Public API Changes
awaitShell.Current.DisplayPromptAsync("Input Unit","Waiting for robo to input the Unit.",x,x,x,newCancellationTokenSource(TimeSpan.FromSeconds(30)))
Intended Use-Case
When a CancellationTokenSource is passed, and it's cancled (by timeout or whatever), the prompt should be closed and return null or an empty string.