UNPKG
@fmal/http-service
Version:
latest (3.0.5)
next (3.0.5-1602948849571)
3.0.5
3.0.5-1602948849571
3.0.4
3.0.4-1577985485537
3.0.3
3.0.3-1571135102741
3.0.2
3.0.1
3.0.0
2.0.1
1.0.1
1.0.0
A HTTP service - orignally @cerebral/http
github.com/fmal/monorepo
fmal/monorepo
@fmal/http-service
/
src
/
factories
/
httpAbort.js
8 lines
(6 loc)
•
165 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
function
httpAbortFactory
(
regexp
) {
return
function
httpAbort
(
{ http, resolve }
) { http.
abort
(resolve.
value
(regexp)); }; }
export
default
httpAbortFactory;