sendRegistrationLink(user);
sleep(86400);
if(!isRegistered(user)) {
sendReminderLink(user);
}
Demo time01
sleep
takes resourcesMeet Temporal workflow engine
*Do not confuse with JavaScript Temporal API
Demo time02
Demo time
Polls the server. Does the work
for(user of getPayingUsers()) {
const invoice = prepareInvoice(user);
const url = storeOnS3(invoice);
sendEmail(user.email, url);
}
Demo time03
There's no magic, just leaky abstractions
new Date()
and Math.random()
are monkey-patched!
Impressive... And scary. But impressive!
nurkiewicz.com, @nurkiewicz@fosstodon.org