代码中的status与state

2021-09-09  本文已影响0人  koreadragon

status is used to describe an outcome of an operation (e.g. success/fail).
state is used to describe a stage in a process (e.g. pending/dispatched).

上一篇 下一篇

猜你喜欢

热点阅读