When using RunSynchronously, it will throw an error when the taks is already completed.
"RunSynchronously may not be called on a task that has already completed."
This is maybe not the best solution, but it works for now. If you have another option to execute this async task, syncronously i'm happy to learn :-)
Kind regards
Rob
Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.
Hi,
When using RunSynchronously, it will throw an error when the taks is already completed.
"RunSynchronously may not be called on a task that has already completed."
This is maybe not the best solution, but it works for now. If you have another option to execute this async task, syncronously i'm happy to learn :-)
Kind regards Rob
Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.