disasterresponsemodule.handledisasterevent(eventtype => eventtype.withhelddocuments(), useraction => { useraction.tuneoutnegativity(); useraction.reactivatehope(); }, assessmentprocess => { foreach(var assessment in assessments) { if(assessment.status == "foregoing") { assessment.updatestatus("completed"); } } });