API 参考类型别名
TravelsControlledApply()<S, P>
Travels 3.0.1. Travels 3 API reference for TravelsControlledApply.
此页尚未提供中文译文。以下内容由英文源码注释生成,API 名称与签名保持原样。
TravelsControlledApply<
S,P> = (transition) =>S
Defined in: src/type.ts:76
Synchronous executor used when another runtime owns the authoritative state.
Return that runtime's committed state after applying transition.patches.
Type Parameters
S
S
P
P extends PatchesOption = { }
Parameters
transition
TravelsControlledTransition<S, P>
Returns
S