Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hachibeedi/rxjs-haxe
RxJS extern for Haxe
https://github.com/hachibeedi/rxjs-haxe
haxe
Last synced: about 1 month ago
JSON representation
RxJS extern for Haxe
- Host: GitHub
- URL: https://github.com/hachibeedi/rxjs-haxe
- Owner: hachibeeDI
- Created: 2014-09-12T06:25:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-18T13:25:31.000Z (over 9 years ago)
- Last Synced: 2024-10-18T14:31:11.373Z (3 months ago)
- Topics: haxe
- Language: Haxe
- Size: 148 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RxJS-haxe
## How to install
```bash
haxelib git RxJS https://github.com/hachibeeDI/RxJS-haxe.git
```add your `.hxml`
```
-lib RxJS
```## Usage
```csharp
import rx.Observable;// ATTENTION: static methods are all in `ObservableStatic` class.
var ob: Observable = ObservableStatic.fromEvent(null, "keyup");
```## Notes
Reccomend to use above 3.2 .
Because old version Haxe could not use reserved word (ex: catch, try……).If you want to call some methods named Haxe's reserved words, add the `_` at the end.
### example
from
```csharp
// Haxe
ob.catch_(function(x) {return null;});
```to
```javascript
// JavaScript
ob1["catch"](function(x) {return null;});
```## LICENCE
MIT