UNPKG

ngx-thread

Version:

Implements multi-threading in Angular using Web Worker

23 lines (20 loc) 441 B
import {BrowserModule} from '@angular/platform-browser'; import {NgModule} from '@angular/core'; import {AppRoutingModule} from './app-routing.module'; import {AppComponent} from './app.component'; import {ThreadModule} from "ngx-thread"; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule, ThreadModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }