Observer

The Observer Pattern facilitates event-based programming. You use this pattern whenever you wire up events in a language like C# or JavaScript (using the EventEmitter in Node or listening to DOM events in the browser).

Many frameworks have the mechanics for observation al- ready built in, but let’s look at how we can construct an ob- server by hand by adding methods to our GroovyQuery that get fired when certain events occur. These are commonly referred to as callbacks

Almost there - just need you to log in real quick!

You're not logged in at the moment and the course you're trying to access is for logged in people. If you don't own the course - just head over to our courses page and we'll get you squared away!

Pen
>