Dangeard studied the life-cycles and biology of many simple-bodied organisms, many of which are no longer considered fungi.
Among other things, he discovered the function of the long sterigmata of the jelly fungi: it allows the basidia to remain embedded deep in the hymenium, protected from the air by the gelatinous stuff that results when some of the hyphae (with yellow rounded tips in the illustration below) dissolve their cell walls.
The long sterigmata poke through the jelly, enabling the spores to be borne externally while the basidium remains protected in the interior. When the fungus dries up, the basidia remain protected from the air, and when the fungus rehydrates they again begin producing spores. I remember seeing one research result that found that a fruiting body of Tremella mesenterica continued to sporulate in wet weather for a period of six months.