transferum
    Preparing search index...

    Interface LinkStrategyInterface

    Strategy interface for linking transfers.

    A link strategy provides a single method:

    • link() — connects an output transfer to an input transfer based on their capability flags

    Implementations can override the method to customize linking behavior (e.g., logging, serialization, custom error handling for unsupported combinations).

    const linkStrategy = new DefaultLinkStrategy();
    linkStrategy.link(source, target);
    interface LinkStrategyInterface {
        link<T, RTransfer extends InputTransfer<T>>(
            lhs: OutputTransfer<T>,
            rhs: RTransfer,
            options?: LinkConfig<RTransfer>,
        ): SubscriberInterface;
    }
    Index