take

open override fun take(ref: AggregateRef): CachedState?

Removes and returns the state of ref, or null when none is cached.