package Ġcom . so yle . stories . scene . createNew Scene Ċ Ċ import Ġcom . so yle . stories . common . Notifier Ċ import Ġcom . so yle . stories . common . Thread Transformer Ċ import Ġcom . so yle . stories . use case . scene . createNew Scene . Create New Scene Ċ import Ġcom . so yle . stories . use case . story event . create Story Event . Create Story Event Ċ Ċ class ĠCreate New Scene Notifier ( Ċ ĉ private Ġval Ġthread Transformer : ĠThread Transformer , ĊĠ Ġoverride Ġval Ġcreate Story Event Output Port : ĠCreate Story Event . Output Port Ċ ) Ġ: ĠCreate New Scene . Output Port , ĠNot ifier < Create New Scene . Output Port >() Ġ{ ĊĊ ĉ override Ġfun Ġreceive Create New Scene Failure ( failure : ĠException ) Ġ{ Ċĉ ĉ thread Transformer . async Ġ{ Ċĉĉ ĉ notify All Ġ{ Ġit . receive Create New Scene Failure ( failure ) Ġ} Ċĉ ĉ } Ċ ĉ } ĊĊ ĉ override Ġfun Ġreceive Create New Scene Response ( response : ĠCreate New Scene . Response Model ) Ġ{ Ċĉ ĉ thread Transformer . async Ġ{ Ċĉĉ ĉ notify All Ġ{ Ġit . receive Create New Scene Response ( response ) Ġ} Ċĉ ĉ } Ċ ĉ } Ċ }