Skip to content

Instantly share code, notes, and snippets.

View brandonbird's full-sized avatar

Brandon Bird brandonbird

View GitHub Profile

Keybase proof

I hereby claim:

  • I am brandonbird on github.
  • I am brandonbird (https://keybase.io/brandonbird) on keybase.
  • I have a public key ASBOESufX6iBqqKARw3ALPL6Y5SAg9LcIbZgvBZncFJ-pgo

To claim this, I am signing this object:

import {Observable} from 'rxjs';
/**
* A decorator for Angular 2 component instance properties that enables
* them to automatically receive values from an Observable of the same type.
*
* In many cases, it's easier to deal with bare values in a view, while
* pushing value changes from an Observable. `Sink()` wraps up this pattern
* and automatically manages subscription disposal.
*