richardartoul / nola

MIT License
74 stars 6 forks source link

Add isWorker flag to actor startup #62

Open aratz-lasa opened 1 year ago

aratz-lasa commented 1 year ago

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.