Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] setValue method to synchronize settings #4045

Closed
2 tasks done
sun995046205 opened this issue Nov 13, 2024 · 3 comments
Closed
2 tasks done

[Feature] setValue method to synchronize settings #4045

sun995046205 opened this issue Nov 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working scope:facade

Comments

@sun995046205
Copy link

初始清单

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

问题

setValues是异步的 初始化没法设置数据 希望出个同步设置的

@univer-bot univer-bot bot changed the title [Feature] setValue方法转同步设置 [Feature] setValue method to synchronize settings Nov 13, 2024
@univer-bot
Copy link

univer-bot bot commented Nov 13, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Feature] setValue方法转同步设置

Title: [Feature] setValue method to synchronize settings


Initial list

  • Is this really a problem?
  • I've searched Github Issues but haven't found any similar issues.

question

setValues ​​is asynchronous. Data cannot be set during initialization. I hope to have a synchronous setting.

@wzhudev
Copy link
Member

wzhudev commented Feb 24, 2025

Hi @sun995046205. 在最近的 Facade API 优化中, 我们将很多 API 改为了同步接口. 不过我们仍然建议直接配置 snapshot 来初始化文档.

@wzhudev wzhudev closed this as completed Feb 24, 2025
@univer-bot
Copy link

univer-bot bot commented Feb 24, 2025

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Hi @sun995046205. In recent Facade API optimization, we have changed many APIs to synchronous interfaces. However, we still recommend directly configuring snapshot to initialize the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scope:facade
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants