@ngx-ssr/timeout
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Install package

npm i @ngx-ssr/timeout

Use NgxSsrTimeoutModule to set timeouts for all requests

import { NgModule } from '@angular/core';
import {
  ServerModule,
} from '@angular/platform-server';
import { AppModule } from './app.module';
import { AppComponent } from './app.component';
import { NgxSsrTimeoutModule } from '@ngx-ssr/timeout';

@NgModule({
  imports: [
    AppModule,
    ServerModule,
    NgxSsrTimeoutModule.forRoot({ timeout: 500 }),
  ],
  bootstrap: [AppComponent],
})
export class AppServerModule {
}

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @ngx-ssr/timeout

Weekly Downloads

156

Version

1.1.1

License

none

Unpacked Size

28.6 kB

Total Files

18

Last publish

Collaborators

  • defenderbass