vapor-chamber API reference - v1.3.0
    Preparing search index...

    Type Alias RehydrateOptions

    type RehydrateOptions = {
        ignoreUnhandled?: boolean;
        filter?: (cmd: DehydratedCommand) => boolean;
    }
    Index

    Properties

    ignoreUnhandled?: boolean

    When true, commands that don't have a registered handler are silently skipped instead of producing errors. Default: true.

    filter?: (cmd: DehydratedCommand) => boolean

    Plugin to suppress side effects during rehydration. When provided, this function is called for each command before dispatch. Return false to skip the dispatch (e.g. for analytics, API calls).