Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type VolumeMonitorMountPreUnmountCallback = Mount -> IO ()

    gi-gio GI.Gio.Objects.VolumeMonitor

    May be emitted when a mount is about to be removed. This signal depends on the backend and is only emitted if GIO was used to unmount.

  2. type VolumeMonitorMountRemovedCallback = Mount -> IO ()

    gi-gio GI.Gio.Objects.VolumeMonitor

    Emitted when a mount is removed.

  3. type VolumeMonitorVolumeAddedCallback = Volume -> IO ()

    gi-gio GI.Gio.Objects.VolumeMonitor

    Emitted when a mountable volume is added to the system.

  4. type VolumeMonitorVolumeChangedCallback = Volume -> IO ()

    gi-gio GI.Gio.Objects.VolumeMonitor

    Emitted when mountable volume is changed.

  5. type VolumeMonitorVolumeRemovedCallback = Volume -> IO ()

    gi-gio GI.Gio.Objects.VolumeMonitor

    Emitted when a mountable volume is removed from the system.

  6. clearDBusInterfaceVTableMethodCall :: MonadIO m => DBusInterfaceVTable -> m ()

    gi-gio GI.Gio.Structs.DBusInterfaceVTable

    Set the value of the “method_call” field to Nothing. When overloading is enabled, this is equivalent to

    clear #methodCall
    

  7. getDBusInterfaceVTableMethodCall :: MonadIO m => DBusInterfaceVTable -> m (Maybe DBusInterfaceMethodCallFunc_WithClosures)

    gi-gio GI.Gio.Structs.DBusInterfaceVTable

    Get the value of the “method_call” field. When overloading is enabled, this is equivalent to

    get dBusInterfaceVTable #methodCall
    

  8. setDBusInterfaceVTableMethodCall :: MonadIO m => DBusInterfaceVTable -> FunPtr C_DBusInterfaceMethodCallFunc -> m ()

    gi-gio GI.Gio.Structs.DBusInterfaceVTable

    Set the value of the “method_call” field. When overloading is enabled, this is equivalent to

    set dBusInterfaceVTable [ #methodCall := value ]
    

  9. type MessageCallback = ByteString -> IO ()

    hedis Database.Redis

    A handler for a message from a subscribed channel. The callback is passed the message content. Messages are processed synchronously in the receiving thread, so if the callback takes a long time it will block other callbacks and other messages from being received. If you need to move long-running work to a different thread, we suggest you use TBQueue with a reasonable bound, so that if messages are arriving faster than you can process them, you do eventually block. If the callback throws an exception, the exception will be thrown from pubSubForever which will cause the entire Redis connection for all subscriptions to be closed. As long as you call pubSubForever in a loop you will reconnect to your subscribed channels, but you should probably add an exception handler to each callback to prevent this.

  10. type PMessageCallback = RedisChannel -> ByteString -> IO ()

    hedis Database.Redis

    A handler for a message from a psubscribed channel. The callback is passed the channel the message was sent on plus the message content. Similar to MessageCallback, callbacks are executed synchronously and any exceptions are rethrown from pubSubForever.

Page 463 of many | Previous | Next