resonatehq / resonate

a dead simple programming model for the cloud
https://www.resonatehq.io
Apache License 2.0
360 stars 28 forks source link

Routing subsystem #385

Closed dfarr closed 5 days ago

dfarr commented 1 month ago

Matchers are registered on an instance of the resonate server and apply to promises. When a promise created matchers are tested in order, the first matcher to signal a match triggers the creation of a task.

Matchers can be used to invoke processes, in contrast to callbacks which are generally used to resume processes.

flossypurse commented 2 weeks ago

Changed name from "matchers" to "routers". "Routers" accept a promise and return a destination.