module Quartz::Hooks::Notifiable

Overview

The Notifiable module is intended to be included in a class as a mixin. It provides an interface so that objects can register and receive hooks during a simulation via the #notify method that are dispatched by a Notifier.

Defined in:

quartz/hooks.cr

Instance Method Summary

Instance Method Detail

abstract def notify(hook : Symbol) #

This method is called whenever a registered hook is dispatched.


[View source]