mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
doc
This commit is contained in:
parent
88a10dcf3a
commit
a313918e74
1 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
(** Event pattern.
|
||||
|
||||
This provides a basic observer pattern, where events are emitted
|
||||
from some source (with an attached value), and callbacks that were
|
||||
registered will receive this value.
|
||||
*)
|
||||
|
||||
type ('a, 'b) t
|
||||
(** An event emitting values of type ['a], where subscribers
|
||||
return values of type ['b]. *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue