onSuccess

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