Integrated Dynamics

Integrated Dynamics

63M Downloads

Is there a way to implement caching?

Flithor opened this issue · 3 comments

commented

Issue type:

  • ❓ Question

Question:

I need to monitor a value, which 0 for a long time, but occasionally a non-zero value, and only stays 1 tick, I need to record and keep this value until it changes next time.
Current operations can do it?

commented

Hmm, that might be a tricky one. I would say, use the delayer with a long history, but that might not be very efficient for your server.

Maybe you can ask it on our discord server, some smart people on there might be able to help as well.

commented

Otherwise, you can do some magic using the materializer by continuously piping variables in and out.

commented

I implemented this magic!

But it seems that there is a bug about materializer.
It only inputs and outputs from the specified side.
I post a new issues