Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 317 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 317 Bytes

heisenberg

A reflective, observer library.

Heisenberg allows you to react to any invocation performed on an object you observe.

Assuming that catView.update() prints "Cat has Changed!" to console :

Cat cat = when(cat).isInvoked(let(catView).update());
cat.doAnything();
//console : "Cat has Changed!"