Converge on `rendered` func naming and the `Worker` counterpart
dhavalshreyas opened this issue · comments
Dhaval Shreyas commented
Background
Our current API for Worker
s is:
context.awaitResult(Worker())
For rendering a Workflow
:
Workflow().rendered(with: context)
Decision
To standardize the API b/w these two calls and their Android counterparts, the team has decided on:
Worker
::
Worker().running(in: context, key: ..., outputMap: ... )
Workflow
::
Workflow().rendered(in: context, key: ..., outputMap: ... )