onSuccess

Sets the success callback.

Return

this instance, for method chaining

Parameters

callback

successful fetch handler