代码中的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).
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).