For what it is worth, createRequest is just a light abstraction around got. It is got that uses a cancellable promise to implement cancel (/abort) functionality.
I do like your suggestion, though and I think it would be an improvement to got API. Please raise an issue with got. I am sure Sindre will appreciate the suggestion.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For what it is worth,
createRequest
is just a light abstraction around got. It is got that uses a cancellable promise to implement cancel (/abort) functionality.I do like your suggestion, though and I think it would be an improvement to
got
API. Please raise an issue with got. I am sure Sindre will appreciate the suggestion.