rebus-org / Rebus.MySql

:bus: MySQL integration for Rebus
https://mookid.dk/category/rebus
Other
7 stars 6 forks source link

RunSynchronously will throw error when AutocallyCreateTables is set #4

Closed robvanpamel closed 7 years ago

robvanpamel commented 7 years ago

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.

mookid8000 commented 7 years ago

it's on NuGet.org as 1.0.0-b04 now 😄