@flowscripter/pluggable-io-framework-api
    Preparing search index...

    Type Alias StreamDecorator<K, C>

    StreamDecorator: (handle: StreamHandle<K>) => StreamHandle<K> & C

    A decorator wraps a StreamHandle and returns an enhanced handle with additional capabilities C (e.g. Seekable). When C is known at the call site (the common case - a specific decorator is applied directly), consumers get static typing with no runtime capability check needed. Where a handle arrives already decorated by unknown/dynamic decorators, use the is* type guards above instead.

    Type Parameters

    Type Declaration