@slicky/realm
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

NPM version

Slicky/Realm

Zone.js wrapper

Installation

$ npm install @slicky/realm

Include zone.js into your application.

Usage

import 'zone.js';
import {Realm} from '@slicky/realm';

const parent = new Realm(
	() => {
		console.log('entering call...');
	},
	() => {
		console.log('leaving call...');
	}
);

const child = parent.fork(
	() => {
		console.log('entering child call...');
	},
	() => {
		console.log('leaving child call...');
	}
);

Readme

Keywords

none

Package Sidebar

Install

npm i @slicky/realm

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • slicky