package Ġde . ma ib orn w ol ff . domain ch oreo graph . core . api Ċ Ċ import Ġde . ma ib orn w ol ff . domain ch oreo graph . core . processing . context . Cast able To Domain Ch oreo graphy Static Context Ċ import Ġde . ma ib orn w ol ff . domain ch oreo graph . core . processing . context . Mutable Domain Ch oreo graphy Static Context Ċ Ċ class ĠDomain Ch oreo graphy Options ( ĊĠĠĠ Ġval Ġlogger : ĠSet < Domain Logger > Ġ= Ġset Of (), ĊĠĠĠ Ġval Ġcalls : ĠMutable List < Domain Context >? Ġ= Ġnull Ċ ) Ġ{ ĊĠĠĠ Ġfun Ġresolve ( context : ĠMutable Domain Ch oreo graphy Static Context ) Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( context Ġ! is ĠCast able To Domain Ch oreo graphy Static Context ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġval ĠreadOnly Context Ġ= Ġcontext . to Domain Ch oreo graphy Static Context () ĊĠĠĠĠĠĠĠ Ġcalls ?. add ( readOnly Context ) ĊĠĠĠĠĠĠĠ Ġlogger . forEach Ġ{ Ġit . onComplete ( readOnly Context ) Ġ} ĊĠĠĠ Ġ} Ċ } Ċ