@Yang Chowmun The maxConcurrentCalls
configuration helps in defining the maximum number of concurrent calls to the callback that the message pump should initiate per scaled instance. By default, the Functions runtime processes multiple messages concurrently.
Similarly maxConcurrentSessions
configuration help with the maximum number of sessions that can be handled concurrently per scaled instance in case of sessions.
For rest of the configuration as per your requirement you can define in host.json setting. For more details please refer to this.
If your requirement is that only one message need to be processed at a time per instance then you can use the above configuration.
But if your requirement is Singleton support for Functions to ensure only one function running at a time then you need to configure this.