All Projects → PatrickJS → Angular Idle Preload

PatrickJS / Angular Idle Preload

Licence: mit
🔜 Angular Idle Preload for preloading async routes via @TipeIO

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Angular Idle Preload

Xxl Job Dotnet
xxl-job is a lightweight distributed task scheduling framework, and this package provide a dotnet executor client for it
Stars: ✭ 31 (-68.37%)
Mutual labels:  scheduling
Arpx
Automate and relate multiple processes.
Stars: ✭ 49 (-50%)
Mutual labels:  scheduling
Tempus Fugit
A scheduling and time utilities module that doesn't waste your time
Stars: ✭ 70 (-28.57%)
Mutual labels:  scheduling
Prettyos
A Preemptive Hard Real Time kernel for embedded devices.
Stars: ✭ 36 (-63.27%)
Mutual labels:  scheduling
Gsysint
Golang (as of 1.12.5) runtime internals that gives you an access to internal scheduling primitives. Park Gs, read IDs. (for learning purposes)
Stars: ✭ 44 (-55.1%)
Mutual labels:  scheduling
Traceshark
This is a tool for Linux kernel ftrace and perf events visualization
Stars: ✭ 63 (-35.71%)
Mutual labels:  scheduling
Gron
gron, Cron Jobs in Go.
Stars: ✭ 839 (+756.12%)
Mutual labels:  scheduling
Laravel Totem
Manage Your Laravel Schedule From A Web Dashboard
Stars: ✭ 1,299 (+1225.51%)
Mutual labels:  scheduling
Scheduling
Multi-platform Scheduling and Workflows Engine
Stars: ✭ 44 (-55.1%)
Mutual labels:  scheduling
Rhine
Haskell Functional Reactive Programming framework with type-level clocks
Stars: ✭ 69 (-29.59%)
Mutual labels:  scheduling
Dmhy Subscribe
在動漫花園訂閱並排程下載磁鏈,支援 Linux & Windows 10 & Docker
Stars: ✭ 39 (-60.2%)
Mutual labels:  scheduling
Schedulebot
A Discord bot that makes scheduling easy
Stars: ✭ 44 (-55.1%)
Mutual labels:  scheduling
Frame Scheduling
Asynchronous non-blocking running many tasks in JavaScript. Demo https://codesandbox.io/s/admiring-ride-jdoq0
Stars: ✭ 64 (-34.69%)
Mutual labels:  scheduling
Enkits
A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.
Stars: ✭ 962 (+881.63%)
Mutual labels:  scheduling
Attemper
Distributed,multi-tenancy,job-flow scheduling application(分布式多租户的支持流程编排的任务调度平台) QQ群:1029617143
Stars: ✭ 86 (-12.24%)
Mutual labels:  scheduling
Nexrender
📹 Data-driven render automation for After Effects
Stars: ✭ 946 (+865.31%)
Mutual labels:  scheduling
Springboot
SpringBoot 整合各类框架和应用
Stars: ✭ 54 (-44.9%)
Mutual labels:  scheduling
Agenda Rest
Scheduling as a Service
Stars: ✭ 93 (-5.1%)
Mutual labels:  scheduling
Time Table Scheduler
Time Table generation using Genetic Algorithms ( Java-Struts2)
Stars: ✭ 90 (-8.16%)
Mutual labels:  scheduling
Waiter
Runs, manages, and autoscales web services on Mesos and Kubernetes
Stars: ✭ 65 (-33.67%)
Mutual labels:  scheduling

Tipe


Angular Idle Preload

Angular Idle Preload for preloading async/lazy routes using requestIdleCallback (or fallback to setTimeout which is run outside of zone.js [Angular 6+)

Why should I use angular-idle-preload?

Scheduling non-essential work yourself is very difficult to do. It’s impossible to figure out exactly how much frame time remains because after requestAnimationFrame callbacks execute there are style calculations, layout, paint, and other browser internals that need to run. A home-rolled solution can’t account for any of those. In order to be sure that a user isn’t interacting in some way you would also need to attach listeners to every kind of interaction event (scroll, touch, click), even if you don’t need them for functionality, just so that you can be absolutely sure that the user isn’t interacting. The browser, on the other hand, knows exactly how much time is available at the end of the frame, and if the user is interacting, and so through requestIdleCallback we gain an API that allows us to make use of any spare time in the most efficient way possible.

links

Install

npm install angular-idle-preload --save

import { IdlePreload, IdlePreloadModule } from 'angular-idle-preload';

@NgModule({
  bootstrap: [ App ],
  imports: [
    IdlePreloadModule.forRoot(), // forRoot ensures the providers are only created once
    RouterModule.forRoot([], { useHash: false, preloadingStrategy: IdlePreload }),
  ]
})
export class Main {}

enjoy — PatrtickJS

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].