Currently Events have a 'static requirement, but it seems to me that, when sent from outside the world (outside the event handlers) - using world.send(event), that event will only live until all the handlers have worked.
My usecase is basically rendering the world, but I only have a mutable reference to the rendering buffer, so I would like to have something like
Currently
Event
s have a'static
requirement, but it seems to me that, when sent from outside the world (outside the event handlers) - usingworld.send(event)
, that event will only live until all the handlers have worked.My usecase is basically rendering the world, but I only have a mutable reference to the rendering buffer, so I would like to have something like