workflow-kotlin
workflow-kotlin copied to clipboard
Resolve running(Worker) inconsistencies
trafficstars
MyWorker()
.running(context, "key")
This requires turning Worker in Kotlin into an abstract class and making Worker.run protected, to reduce confusion.
We need to something similar for Workflow, see square/workflow#996.
Fixed on the swift side.
We decided to remove this from 1.0 in kotlin since it just added work and confusion and we didn't think this was a very important detail to converge on.