MediaSFU Angular
    Preparing search index...

    Interface CustomFunctionOverride<TFunction>

    Base interface for function overrides Allows replacing a function or wrapping its execution

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

    Type Parameters

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

    Properties

    implementation?: TFunction

    Completely replace the function implementation

    wrap?: (original: TFunction) => TFunction

    Wrap the original function to add pre/post logic

    Type Declaration