Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dolgarev/meteor-reactivevar-getonce

Adds a method "getOnce" to ReactiveVar
https://github.com/dolgarev/meteor-reactivevar-getonce

Last synced: about 7 hours ago
JSON representation

Adds a method "getOnce" to ReactiveVar

Awesome Lists containing this project

README

        

meteor-reactivevar-getonce
====================
Adds a simple `getOnce` method to ReactiveVar.

```js
var v = new ReactiveVar('test');
v.getOnce(); // => "test"
v.get(); // => undefined
```