Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
api:thread:zh [2023/10/20 11:22]
hfsr [Functions]
api:thread:zh [2023/10/20 11:23]
hfsr [Functions]
Line 33: Line 33:
 - 你需要编写长期运行的后台函数,而不想手动管理其yield与resum。 - 你需要编写长期运行的后台函数,而不想手动管理其yield与resum。
  
-===== Functions ​=====+===== 函数 ​=====
  
-There are two sections of API defined here.+此处定义了两类API
  
 1. [[api:​thread:​zh#​线程API|线程]]API,或者说静态函数,由`require("​thread"​)`提供。 1. [[api:​thread:​zh#​线程API|线程]]API,或者说静态函数,由`require("​thread"​)`提供。