Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Opaque class for defining and scheduling IO jobs.
- newtype IOSchedulerJob = IOSchedulerJob (ForeignPtr IOSchedulerJob)
- noIOSchedulerJob :: Maybe IOSchedulerJob
- data IOSchedulerJobSendToMainloopMethodInfo
- iOSchedulerJobSendToMainloop :: MonadIO m => IOSchedulerJob -> SourceFunc -> m Bool
- data IOSchedulerJobSendToMainloopAsyncMethodInfo
- iOSchedulerJobSendToMainloopAsync :: MonadIO m => IOSchedulerJob -> SourceFunc -> m ()
Exported types
newtype IOSchedulerJob Source
WrappedPtr IOSchedulerJob | |
((~) * signature (SourceFunc -> m ()), MonadIO m) => MethodInfo * IOSchedulerJobSendToMainloopAsyncMethodInfo IOSchedulerJob signature | |
((~) * signature (SourceFunc -> m Bool), MonadIO m) => MethodInfo * IOSchedulerJobSendToMainloopMethodInfo IOSchedulerJob signature | |
((~) * info (ResolveIOSchedulerJobMethod t IOSchedulerJob), MethodInfo * info IOSchedulerJob p) => IsLabelProxy t (IOSchedulerJob -> p) | |
type AttributeList IOSchedulerJob |
Methods
iOSchedulerJobSendToMainloop
data IOSchedulerJobSendToMainloopMethodInfo Source
((~) * signature (SourceFunc -> m Bool), MonadIO m) => MethodInfo * IOSchedulerJobSendToMainloopMethodInfo IOSchedulerJob signature |
iOSchedulerJobSendToMainloop :: MonadIO m => IOSchedulerJob -> SourceFunc -> m Bool Source
Deprecated: Use g_main_context_invoke().
iOSchedulerJobSendToMainloopAsync
data IOSchedulerJobSendToMainloopAsyncMethodInfo Source
((~) * signature (SourceFunc -> m ()), MonadIO m) => MethodInfo * IOSchedulerJobSendToMainloopAsyncMethodInfo IOSchedulerJob signature |
iOSchedulerJobSendToMainloopAsync :: MonadIO m => IOSchedulerJob -> SourceFunc -> m () Source
Deprecated: Use g_main_context_invoke().