MediaSFU Vue
    Preparing search index...

    Interface CustomFunctionOverride<Fn>

    Custom function override interface Allows replacing or wrapping helper functions with middleware-style patterns

    interface CustomFunctionOverride<Fn extends (...args: any[]) => any> {
        implementation?: Fn;
        wrap?: (defaultImplementation: Fn) => Fn;
    }

    Type Parameters

    • Fn extends (...args: any[]) => any

      The function signature being overridden

    Index

    Properties

    implementation?: Fn

    Full replacement implementation

    wrap?: (defaultImplementation: Fn) => Fn

    Wrapper function - receives original implementation Perfect for analytics, error handling, or rate limiting