Method: Hyperstack::Internal::State::Mapper.schedule_delayed_updater
- Defined in:
- lib/hyperstack/internal/state/mapper.rb
.schedule_delayed_updater(object) ⇒ Object
If an object changes state again then the Set will be reinitialized, and all the observers that might have been on a previous exclusion list, will now be notified.
231 232 233 234 |
# File 'lib/hyperstack/internal/state/mapper.rb', line 231 def schedule_delayed_updater(object) update_exclusions[object] = Set.new @delayed_updater ||= after(0) { run_delayed_updater } end |