All Products
Search
Document Center

Function Compute:Can functions invoke each other?

Last Updated:May 07, 2024

Yes, functions can invoke each other. You can call the InvokeFunction operation to invoke a function from another function in the same way that you invoke a function from your on-premises device. The following list provides the links of sample code. For more information, see SDKs for different programming languages.

  • Node.js

  • Python

  • Java

    Note

    You can obtain a temporary token from the context parameter of the handler function and use the token to create a Function Compute client. For more information about the context parameter, see Terms.

You can use CloudFlow to orchestrate your functions. For more detailed information, please refer to What is CloudFlow?.