savi icon indicating copy to clipboard operation
savi copied to clipboard

Access pattern

Open jemc opened this issue 2 years ago • 2 comments

We want to build a convention (and maybe even some form of additional language sugar) around the Access Pattern.

The TL;DR is that we want to be able to pass a lambda to be executed in the context of a given actor, with the actor passing itself in as the argument of that lambda.

More thought is needed into how we want to represent this in Savi in the most convenient/clean way, but at its most basic we could just use a normal lambda, as in Pony: #130

jemc avatar Nov 22 '21 01:11 jemc

This is blocked until we have objectifiable lambdas, as proposed in #130

jemc avatar Nov 22 '21 01:11 jemc

Proper API of Postgres library depends on this, too. For now I can use a Notify.

mneumann avatar Nov 23 '21 10:11 mneumann