strongbus - v3.0.0
    Preparing search index...

    Class Scanner<TResult>

    Type Parameters

    • TResult

      Scanner is resolved with value of this type

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    "[toStringTag]": string = 'Promise'

    Methods

    • Attaches a callback for only the rejection of the Promise.

      Type Parameters

      • TResult1 = never

      Parameters

      • Optionalonrejected: (reason: any) => TResult1 | PromiseLike<TResult1>

        The callback to execute when the Promise is rejected.

      Returns Promise<TResult1>

      A Promise for the completion of the callback.

    • Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.

      Parameters

      • Optionalonfinally: () => void

        The callback to execute when the Promise is settled (fulfilled or rejected).

      Returns Promise<TResult>

      A Promise for the completion of the callback.

    • Parameters

      • Optionalreason: string | Error

      Returns boolean