In passport JS examples, there are lines like return done(arguments here)
What does done
returns, and why?
Asked
Active
Viewed 64 times
0

Michael Kurowski
- 190
- 8
-
Possible duplicate of [What is "done" callback function in Passport Strategy Configure "use" function](https://stackoverflow.com/questions/32153865/what-is-done-callback-function-in-passport-strategy-configure-use-function) – Matt Clark Apr 04 '18 at 18:29
-
It doesn't answer what does done returns – Michael Kurowski Apr 04 '18 at 18:30
-
Done returns either 1. nothing ('undefined') or 2. a simple error object. – Randy Casburn Apr 04 '18 at 18:58