• Creates a SessionStorage that stores session data in the Clouldflare KV Store.

    The advantage of using this instead of cookie session storage is that KV Store may contain much more data than cookies.

    Type Parameters

    • Data = SessionData
    • FlashData = Data

    Parameters

    • __namedParameters: WorkersKVSessionStorageOptions

    Returns SessionStorage<Data, FlashData>