alibaba / alibaba/coobjc

不改代码将IO变异步的问题

Open
#102 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Objective-C
Stars
4k
Forks
519
PR merge metrics
No merged PRs in 30d

Description

在微信公众号 淘宝技术 的coobjc宣传文章中提到
"淘宝app 在不改变原有业务代码的基础上,通过全局hook部分IO、数据解析方法,即可让原来在主线程中同步执行的IO方法异步执行,并且不影响原有的业务逻辑" 这个能稍微细说下怎样完全不动业务代码就能将同步逻辑改造成异步逻辑吗?

Contributor guide

Open the contributing guide

Research direction

Start by reading the coobjc coroutine support and the cokit Foundation/UIKit API categories mentioned in the repository description. Use the referenced article's global-hooking claim as the starting point, and document which I/O and data-parsing methods are involved and what limitations apply when synchronous calls are made asynchronous without changing business code.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.