using System; namespace Cauldron.Core; public class CauldronWriter { private Func OutputFunc { get; set; } public CauldronWriter(Func outputFunc) { this.OutputFunc = outputFunc; } public async Task Dump(object obj) { await this.OutputFunc(obj); } }