metz-sh / simulacrum

Code-playground to visualise complex engineering flows.
https://metz.sh
Apache License 2.0
362 stars 16 forks source link

Add support for events in metz runtime #1

Closed iostreamer-X closed 1 month ago

iostreamer-X commented 1 month ago

Currently there's no concept of events and subscription. This means it becomes challenging to communicate event driven designs. We should have something similar to node's EventEmitter or rust(tokio)'s Channel.

iostreamer-X commented 1 month ago

Here's the design for this feature: https://app.metz.sh/play/f02f7665d1b24dc5a2a1e38078060847

image