observe Method
Returns an observable that emits value changes of the cookie associated with the specified key
@param key: string
The specific key under which the cookie value is stored
@returns Observable<T>
An observable that will emit value changes for a specific key
API
observe(key: string): Observable<T>;
Example
import {tap} from 'rxjs';
import {cookie} from '@bitfiber/rx';
const ck = cookie();
ck.observe('key').pipe(tap(v => console.log(v))).subscribe();