1.0.2 • Published 4 years ago

rxjs-execute-before-operator v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

The rxjs-execute-before-operator executes a callback before other operators. You can use it like follows:

import { of } from "rxjs";
import { executeBefore } from "rxjs-execute-before-operator";
import { timeout } from "rxjs/operators";

of(true).pipe(timeout(5000), executeBefore(() => {
	console.log("I will be executed first");
})).subscribe(() => {
    console.log("I will be executed afterwards");
});
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago