Toasts – Diff between revs 16 and 17
?pathlinks?
Rev 16 | Rev 17 | |||
---|---|---|---|---|
Line 42... | Line 42... | |||
42 | { |
42 | { |
|
43 | Application.Run(toastForm); |
43 | Application.Run(toastForm); |
|
44 | }, _cancellationToken, TaskCreationOptions.LongRunning, TaskScheduler.Current); |
44 | }, _cancellationToken, TaskCreationOptions.LongRunning, TaskScheduler.Current); |
|
45 | } |
45 | } |
|
Line 46... | Line 46... | |||
46 | |
46 | |
|
47 | public async Task Enqueue(ToastForm toastForm) |
47 | public async Task Queue(ToastForm toastForm) |
|
48 | { |
48 | { |
|
49 | await _toastFormBufferBlock.SendAsync(toastForm, _cancellationToken); |
49 | await _toastFormBufferBlock.SendAsync(toastForm, _cancellationToken); |
|
50 | } |
50 | } |
|
51 | } |
51 | } |
|
52 | } |
52 | } |