Module

Graphics.Glapple.Data.InternalRegistrationIds

Package
purescript-glapple
Repository
yukikurage/purescript-glapple

#InternalRegistrationIds Source

type InternalRegistrationIds s i o = { eventId :: RegistrationId Effect Event, inputId :: RegistrationId Effect i, outputId :: RegistrationId Effect o, renderId :: RegistrationId Aff { canvasImageSources :: s -> Maybe CanvasImageSource, context2D :: Context2D } }

#unregisterGame Source

unregisterGame :: forall s i o m. MonadEffect m => InternalRegistrationIds s i o -> m Unit

Take InternalRegistrationIds to detach the game from the process.