Software Architect / Team Lead
- Kansas City, MO
-
08:22
(UTC -06:00) - http://www.mattburkedev.com
- @mattburkedev
- @matt@social.mattburkedev.com
- in/akatakritos
Highlights
- Pro
Block or Report
Block or report akatakritos
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
-
1
export function debug<T>(label: string) {
2return tap<T>(
3next => console.log(`[${label}]`, next),
4err => console.error(`[${label} -- ERR]`, err),
5() => console.log(`[${label}]`, 'complete')
-
-
1
/**
2* rxjs operator to convert a observable to an obserable of Results
3*/
4export function wrapResult<T>(): UnaryFunction<Observable<T>, Observable<Result<T, Error>>> {
5return pipe(