All Products
Search
Document Center

Function Compute:Can functions invoke each other?

Last Updated:Feb 20, 2024

You can use one of the following methods to implement mutual function invocation.

  • Use custom domain names Bind a custom domain name to a function, and then access the function by using a fixed domain name. For more information, see Configure a custom domain name.

  • Use the InvokeFunction operation to call the function You can refer to SDKs for different programming languages. The following topics provide references:

    Note

    You can obtain the temporary tokens from the context object of a handler to construct the corresponding FC client.

  • Use function workflows to orchestration functions For more information, see Asynchronous function invocation.