Comments (2)
My suspicion here is that it has to do with not being able to register the callback before the variable is declared at a given node: by joining first, you are ensuring that the declaration of the variable is performed on all nodes before starting the callback registration.
I'm curious, if you reorder the join and declaration, I'd assume that one of the callbacks would at least work, and the node that didn't issue the declare wouldn't. This would confirm that the issue is that the callback can not be registered before the declare succeeds.
from lasp.
I've found an error in my test case (the init/1 function was not being called at all).
:lasp.stream/2 is working as expected, with either the join before or after the stream call.
I'm sorry for the noise.
from lasp.
Related Issues (20)
- upgrade to latest gen_flow HOT 3
- enforce_once triggering more than expected HOT 3
- Can't use in an Elixir mix project HOT 12
- Provide an option to trigger sync on update HOT 1
- Allow to force gossip to syncrhonize HOT 2
- Tree based dissemination mode is crashing. HOT 1
- peer service gossips to all members HOT 1
- Deltas don't support blocking sync option HOT 1
- Deltas don't support forced propagation option HOT 1
- Make it possible to undeclare variables HOT 13
- Syncing initial state or state after a crash where state is lost
- Fail to Compile: Getting log of git dependency failed in /dir/to/lasp-master/. Falling back to version 0.0.0 HOT 9
- Using the lasp-erlang-client? HOT 18
- Erlang 21 incompatible HOT 4
- Delayed lasp:stream function call
- Read with threshold and maximum blocking duration HOT 1
- Memory leak ? HOT 10
- Deadlock when calling lasp:query/1 HOT 2
- Website is down HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lasp.