Monkeys don't emit update events?
See original GitHub issueI’m using monkeys to join a bunch of separate paths into an array with all of my data. My dependencies look like this:
A(cursor) B(cursor) C(cursor)
\ / /
D(monkey) /
\ /
E(monkey)
When any of A, B, or C update, the appropriate monkeys are updated. However, the monkeys themselves do not appear to emit update events, which means that I don’t get the updated monkey values unless I periodically re-check them.
I could watch the cursors for updates and re-evaluate the monkeys, but then I have to declare the monkeys’ dependencies everywhere it’s used. #358 says that monkeys aren’t cursors – am I experiencing the intended monkey behavior? What is the suggested way to get an update event from a monkey?
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Monkey Patching FlexSprite to list all event listeners on any ...
The good news: you can get a list of every event listener that is currently added to any component (at least anything that...
Read more >Monkey Patching A Touched/Dirty/Pristine Event Listener In ...
To my surprise, there is currently no event that is emitted when a control is touched – or when it's status of pristine/dirty...
Read more >CONFIRMED Monkey Fairground 2021 Update! Roblox Adopt ...
CONFIRMED Monkey Fairground 2021 Update ! Roblox Adopt Me New Monkey Update Release Date!? Buy my new PLUSHIE here: ...
Read more >Delegation: EventEmitter or Observable in Angular
When the user clicks on a nav-item , I would like to call a function which then emits an event which should in...
Read more >Async event subscriber not updating UI after async call #7381
When the changed event is raised by the thing service, variable a is correctly displayed as 1 , but b and c do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello! Is there any update on this? I tried fixing this issue myself last week, but ultimately failed, because I’m not very familiar with the inner workings of Baobab.
I have written the following test case which you can drop into the monkey suite:
Merged the PR and released
2.5.1
on npm. Thanks @roark.