onSettled

abstract var onSettled: (data: TData?, error: TError?, variables: TVariables, context: TContext?) -> Promise<*>?(source)