I need to create a Responder
object, the constructor documentation says:
Parameters
result:Function — The function invoked if the call to the server succeeds and returns a result.
status:Function (default = null) — The function invoked if the server returns an error.
What is the parameter of the status function? it says the signature is function(default = null)
, but it doesn't actually explain what is default
.
- What type is
default
? - What might it contain?