Skip to content

DConfig接口支持异步 #375

Description

@18202781743

DConfig对获取的值做缓存处理,不阻塞GUI调用者

  • 调用者获取的是缓存值,当值修改后,触发信号通知调用方,实现方式类似dtkdeclarative内的DConfigWrapper处理,
  • 当DConfig支持异步接口后,移除掉dtkdeclarative内的DConfigWrapper相同功能,
  • DConfig的实现还是要做成允许在一个专有线程中调用DBus或文件读写接口,否则它有可能会阻塞当前线程

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions