
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
angular-async-tracker
Advanced tools
A port of angular-promise-tracker to angular 6+ that also supports observables
A port of angular-promise-tracker to angular 6+ that also supports observables
Install through npm:
npm install --save angular-async-tracker
Finally use in one of your apps components:
import { Component } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Subscription } from 'rxjs';
import { take } from 'rxjs/operators';
import { AsyncTrackerFactory, AsyncTracker } from 'angular-async-tracker';
@Component({
template: `
<span *ngIf="asyncTracker.active">Loading...</span>
<button *ngIf="!asyncTracker.active" (click)="save()">Save</button>
`
})
export class MyComponent {
asyncTracker: AsyncTracker;
constructor(
private http: HttpClient,
asyncTrackerFactory: AsyncTrackerFactory
) {
this.asyncTracker = asyncTrackerFactory.create();
}
save() {
const saved: Subscription = this.http
.post('/foo', { bar: 'bam' })
.pipe(take(1))
.subscribe(result => {
console.log(result);
});
// `asyncTracker.add` accepts promises or observable subscriptions
this.asyncTracker.add(saved);
}
}
All documentation is auto-generated from the source via compodoc and can be viewed here: https://mattlewis92.github.io/angular-async-tracker/docs/
npm
while current directory is this repoRun npm start
to start a development server on port 8000 with auto reload + tests.
Run npm test
to run tests once or npm run test:watch
to continually run tests.
npm run release
MIT
FAQs
A port of angular-promise-tracker to angular 6+ that also supports observables
The npm package angular-async-tracker receives a total of 36 weekly downloads. As such, angular-async-tracker popularity was classified as not popular.
We found that angular-async-tracker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.