Skip to content

Promise Priority Chain (优先级以及异步逻辑嵌套问题抽象解决方案)

License

Notifications You must be signed in to change notification settings

RunsCode/PromisePriorityChain

Repository files navigation

PromisePriorityChain

轻量级优先级处理类,采用单向链表设计, 自动内存管理无需外部强引用。
Lightweight priority processing class with LinkedList design that automates memory management without strong external references.

可以解决如下问题:

  • 优先级逻辑处理
  • 嵌套逻辑展开铺平
  • 异步嵌套逻辑展开至同步的书写方式
  • 检验逻辑抽象包装
  • 轮询逻辑抽象包装
  • 状态延迟抽象包装

The following issues can be resolved:

  • Priority logic processing
  • Nested logic spread
  • Asynchronous nesting logic expands to synchronous writing
  • Testing logic abstract packaging
  • Poll logic abstract wrapping
  • Transition delay abstract packaging

Example

Example For Swift

Example For Object-C

Example For Java

Example For Android

If you believe you have identified a security vulnerability with PromisePriorityChain, you should report it as soon as possible via email to runs.wang.dev@gmail.com. Please do not post it to a public issue tracker.

License PromisePriorityChain is released under the MIT license. See LICENSE for details.