Methods
# callbackSuperAgent(err, response, callback, asyncopt)
Call the user callback or the resolve/reject Promise functions with either an error String (ex: timeout) or a Number with the captcha id Optional Async/Await supported
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
err |
Object | String | null | |||
response |
Object | null | |||
callback |
function | Object | Fn: Needs to handle err<String|null>, captchaId |
||
async |
Boolean |
<optional> |
false | to allow async/await |