• Preparing search index...
  • The search index is not available
Community Solid Server - v7.1.7
  • Community Solid Server
  • filterHandlers

Function filterHandlers

  • filterHandlers<TIn, TOut>(handlers, input): Promise<AsyncHandler<TIn, TOut>[]>
  • Filters a list of handlers to only keep those that can handle the input. Will error if no matching handlers are found.

    Type Parameters

    • TIn
    • TOut

    Parameters

    • handlers: AsyncHandler<TIn, TOut>[]

      Handlers to filter.

    • input: TIn

      Input that needs to be supported.

    Returns Promise<AsyncHandler<TIn, TOut>[]>

    • Defined in src/util/handlers/HandlerUtil.ts:42

Settings

Member Visibility
Community Solid Server - v7.1.7
  • Loading...