sessionAllows
sessionAllows(
status,expiresAt,now,event):boolean
Defined in: packages/core/src/state-machine/index.ts:274
Whether event is legal in the record’s state at now.
Parameters
Section titled “Parameters”status
Section titled “status”expiresAt
Section titled “expiresAt”number | undefined
number
Returns
Section titled “Returns”boolean