Event Functions
You need to choose between Event Function and HTTP Function when creating a function on FunctionGraph v2.
Overview
FunctionGraph supports event functions. An event can trigger function execution. Generally, it is in JSON format. You can create an event to trigger your function through the cloud service platform or CodeArts IDE Online. All types of triggers supported by FunctionGraph can trigger event functions.
- On the function creation page, Function Type is set to Event Function by default.
- During testing, a function can be triggered by simply entering the specified event in JSON format.
- You can also use triggers to trigger event functions.
Advantages
- Easy single-node programming
You can edit event functions on FunctionGraph or CodeArts IDE Online or upload code packages there and deploy them with just a few clicks. There is no need for you to care about function concurrency or fault rectification.
- High-performance, high-speed runtimes
Event functions can be started, scaled, and called within milliseconds. Faults can be detected and rectified within seconds.
- Complete tool chain
FunctionGraph provides comprehensive logging, tracing, debugging, and monitoring, allowing developers to roll out functions in just three steps.
Restrictions
Event functions face event source restrictions. You need to comply with the function development rules of the function platform.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.