K
K
Kaizaki2017-11-30 14:13:57
JavaScript
Kaizaki, 2017-11-30 14:13:57

Future or Promise?

Why Task (Future) is considered pure, unlike Promises. That Task, that promise cannot be clean, because there is an http request, what's the catch?
Read from here => https://github.com/MostlyAdequate/mostly-adequate-...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kovalsky, 2017-11-30
@lazalu68

"That Task, that promise cannot be pure, because there is an http request" - neither task nor promise is in any way connected with requests, you can send, or you can not send, the difference is in the method of calling .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question