一键导入
uno-mvux-feed-basics
Create and use IFeed<T> for async data in MVUX.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and use IFeed<T> for async data in MVUX.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and use commands in MVUX for user interactions.
Display async feed data with FeedView control.
Create and use IListFeed<T> for reactive collections in MVUX.
Create and use IListState<T> for mutable reactive collections in MVUX.
Use messaging to sync MVUX states with entity changes.
Understand MVUX (Model-View-Update-eXtended) architecture in Uno Platform.
| name | uno-mvux-feed-basics |
| description | Create and use IFeed<T> for async data in MVUX. |
| when_to_use | Use when loading data from a service or API into MVUX, creating reactive data sources that automatically handle loading/error states, transforming async data with operators like `Select` or `Where`, understanding the difference between feeds and states, or refreshing data using `Signal`. |
| metadata | {"author":"uno-platform","version":"2.3","category":"mvux"} |
Docs lookup: call
uno_platform_docs_search(...)first, thenuno_platform_docs_fetch(sourcePath="…")using thesourcePathfield from a result (a relative.mdpath; add the result'sanchorfor a section). Never pass a URL, a.htmllink, or a hand-built path.
Search for and fetch the feed documentation:
uno_platform_docs_search("MVUX Feed IFeed async data creation")
Primary documentation pages:
external/uno.extensions/doc/Reference/Reactive/feed.mdexternal/uno.extensions/doc/Learn/Mvux/Walkthrough/SimpleFeed.howto.mdFetch the reference page for complete API details:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Reference/Reactive/feed.md")
From the fetched docs, the key factory methods on the Feed static class are:
Feed.Async(...) — from a Task<T> returning methodFeed.AsyncEnumerable(...) — from an IAsyncEnumerable<T>Feed.Create(...) — from a custom async functionIf the user needs to transform feed data, search for operators:
uno_platform_docs_search("MVUX feed operators Select Where transform")
The feed reference page covers all operators in the "Operators" section.
If the user needs to trigger a feed refresh:
uno_platform_docs_search("MVUX feed refresh Signal trigger reload")
The feed reference page has a section on Signal for manual refresh triggers.
For step-by-step examples of showing feed data on the UI:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Mvux/Walkthrough/SimpleFeed.howto.md")
This covers binding feed data, showing errors, and using feeds inside DataTemplates.
IFeed<T> is read-only — it cannot be updated from the UIIState<T> for caching)CancellationToken parameter for proper cancellationValueTask<T> or Task<T>IListFeed<T> instead (see uno-mvux-listfeed skill)