Let the user define whether a mem event listener is required for the domain to run