I need to do specific animation in Halogen.Each frame should be asked to update the state in order to properly draw each step. Is there any subscription mechanism for such cases? I tried to use FRP.Event.TIme, but I do not understand how to raise queries from the subscribe function.
Asked
Active
Viewed 294 times
1 Answers
0
This SO answer gives an excellent explanation of how subscribing to event sources works in Halogen. The type signatures are tricky so it's worth taking the time to study that answer.
I would only add that you might need to use a lifecycleComponent
in order to initialize the subscription.

Jordan Mackie
- 1,193
- 10
- 17