Documentation

One law. Eight elements. Ten exports.

Welcome to the okengine handbook. Pick a section below — or start with Get Started if you are new.

The one law

Every backend behavior is a Flow: on(Trigger) → Effects. One species; triggers are typed values.

on(http.post("/bookings"), createBooking);
on(every("10m"), expireStale);
on(orderPlaced, sendReceipt);

Browse by section

On this page