iya-sts
    Preparing search index...
    register: (kind: string, fn: OperationHandler) => void = ...

    Type Declaration

      • (kind: string, fn: OperationHandler): void
      • Registers the handler for one kind of operation.

        A handler may return a value or a promise.

        Parameters

        • kind: string

          the operation's name

        • fn: OperationHandler

          the handler

        Returns void

        an Error when fn is not a function or the kind is already registered