This PR adds a flag to actor instantiations on the startup call so that apart from the payload user specifies, also an IsWorker flag is passed. This allows actors to know if they are being run as workers or not and consequently decide if they can use the transaction or not.
This PR adds a flag to actor instantiations on the startup call so that apart from the payload user specifies, also an
IsWorker
flag is passed. This allows actors to know if they are being run as workers or not and consequently decide if they can use the transaction or not.