campfire.js
    Preparing search index...

    Type Alias Callback<U, E>

    Callback: (err: E | null, res: U | null) => void

    Represents a Node-style callback function that receives either an error or a result.

    Type Parameters

    • U

      The type of the successful result

    • E

      The type of the error

    Type declaration

      • (err: E | null, res: U | null): void
      • Parameters

        • err: E | null
        • res: U | null

        Returns void