OptionalhooksReadonlyjarThe underlying cookie jar. Users may call jar.set, jar.get, etc. directly.
Force any pending coalesced persistence to commit and perform one final save. Call this on graceful shutdown (process exit, logout, etc.).
Resolves after the save completes; rejects if the adapter throws. A no-op when no adapter is configured.
Load persisted cookies from the adapter (if configured). Safe to call multiple times; errors from the adapter are swallowed.
Return shape of
cookiePlugin()— aFetchPluginaugmented with jar access, adapter lifecycle methods, and a graceful shutdownflush().