Skip to content

Conversation

igalshilman
Copy link
Contributor

This PR adds shared handlers for virtual objects With this commit and runtime >= 0.9, it is possible to define handlers as shared.
A shared handler allows concurrent invocations for a given key, but it does not allow any state modification (only retrieval) This is useful to retrieve state keys for locked objects.

@igalshilman igalshilman force-pushed the add_shared_handlers branch 2 times, most recently from 6756fd4 to b16e91f Compare May 4, 2024 09:09
This commit adds shared handlers for virtual objects
With this commit and runtime >= 0.9, it is possible
to define handlers as shared.
A shared handler allows concurrent invocations for a given key,
but it does not allow any state modification (only retrieval)
This is useful to retrieve state keys for locked objects.
@igalshilman igalshilman force-pushed the add_shared_handlers branch from b16e91f to b8039c1 Compare May 4, 2024 10:32
@igalshilman igalshilman merged commit cd6bfe6 into restatedev:main May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant