5 ms·
Look at how Temporal represents workflows as code. It doesn't use any intermediate representation like DAG or state machine. It executes your code directly as a
by mfateev 6y ago
Look at how Temporal represents workflows as code. It doesn't use any intermediate representation like DAG or state machine. It executes your code directly as a synchronous program with blocking operations taking as long as necessary to execute. For example the following code would be absolutely valid as a Temporal workflow:
waitForApproval(purchase);
sleep(Duration.ofDays(30));
sendEmail(email);
- acjohnson55 6y agoYep. This is why I'm so interested in it!