Join us online for the Google Smart Home Developer Summit on October 21st! Register here to learn what's new, and what's coming up for Google Smart Home.

Generic intent handler.

Type parameters

  • REQ

  • RES

Callable

  • __call ( request REQ ) : Promise < RES > | RES
  • Callback function for the intent.

    Implement this function to handle each intent request and return a response.

    Parameters

    • request: REQ

    Returns Promise<RES> | RES