You can also use the ICollector interface in place of IAsyncCollector if you would like to store multiple messages synchronously.
Note that you might have to install Azure Storage Extensions for the adding of output bindings if you've not done so already. In Azure Functions V2 runtime, adding extensions to each of the services (storage, in this case) is mandatory.