Singletons for Durable Functions - Azure

How to use singletons in the Durable Functons extension for Azure Functions.