Documentation / @blazetrails/actionpack / Session / StaleSessionCheck
Variable: StaleSessionCheck
constStaleSessionCheck: {extractSessionId:unknown;loadSession: [unknown,Record<string,unknown>] |Promise<[unknown,Record<string,unknown>]>;staleSessionCheckBang:T; }
Defined in: packages/actionpack/lib/action-dispatch/middleware/session/abstract-store.ts:49
Type Declaration
extractSessionId()
extractSessionId(
this,env):unknown
Parameters
| Parameter | Type |
|---|---|
this | StaleSessionCheckHost |
env | PersistedRequest |
Returns
unknown
loadSession()
loadSession(
this,env): [unknown,Record<string,unknown>] |Promise<[unknown,Record<string,unknown>]>
Parameters
| Parameter | Type |
|---|---|
this | StaleSessionCheckHost |
env | PersistedRequest |
Returns
[unknown, Record<string, unknown>] | Promise<[unknown, Record<string, unknown>]>
staleSessionCheckBang()
staleSessionCheckBang<
T>(this,block):T
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
this | { staleSessionCheckBang: U; } |
this.staleSessionCheckBang | |
block | () => T |
Returns
T
Invented Arm
if — PERMANENT
Invented Arm
try — PERMANENT