# ViewDataFetchAction

## 签名

`(resolve: Function, reject: Function) => boolean`

## 入参

1. `resolve: Function` - 由 View\.js 提供，供开发者执行的，用于告知 View\.js 数据加载完成的方法。
2. `reject: Function` - 由 View\.js 提供，供开发者执行的，用于告知 View\.js 数据加载失败的方法。

## 返回

`true` - 继续执行下一个拦截器或执行视图跳转动作；`false` - 中止拦截器的继续执行或视图跳转动作。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.view-js.com/lei-xing/viewdatafetchaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
