Method NotUsingInitialValue
- Namespace
- SodaFlow
- Assembly
- SodaFlow.Core.dll
NotUsingInitialValue()
Releases the deferred initial value when this behavior gets a value of its own.
protected override void NotUsingInitialValue()
Remarks
A looped behavior gets its initial value from the value that closes the loop, and it reads that value only when a caller asks for it. The value that closes the loop is not known when SodaFlow creates the loop. After the behavior gets a value, the deferred value is no longer necessary. Thus, SodaFlow releases it and does not keep it alive for the full life of the behavior.