Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. type ThreadedSocketServiceRunCallback = SocketConnection -> Maybe Object -> IO Bool

    gi-gio GI.Gio.Objects.ThreadedSocketService

    The run signal is emitted in a worker thread in response to an incoming connection. This thread is dedicated to handling connection and may perform blocking IO. The signal handler need not return until the connection is closed.

  2. afterThreadedSocketServiceRun :: (IsThreadedSocketService a, MonadIO m) => a -> ((?self :: a) => ThreadedSocketServiceRunCallback) -> m SignalHandlerId

    gi-gio GI.Gio.Objects.ThreadedSocketService

    Connect a signal handler for the run signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after threadedSocketService #run callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  3. constructThreadedSocketServiceMaxThreads :: (IsThreadedSocketService o, MonadIO m) => Int32 -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.ThreadedSocketService

    Construct a GValueConstruct with valid value for the “max-threads” property. This is rarely needed directly, but it is used by new.

  4. getThreadedSocketServiceMaxThreads :: (MonadIO m, IsThreadedSocketService o) => o -> m Int32

    gi-gio GI.Gio.Objects.ThreadedSocketService

    Get the value of the “max-threads” property. When overloading is enabled, this is equivalent to

    get threadedSocketService #maxThreads
    

  5. onThreadedSocketServiceRun :: (IsThreadedSocketService a, MonadIO m) => a -> ((?self :: a) => ThreadedSocketServiceRunCallback) -> m SignalHandlerId

    gi-gio GI.Gio.Objects.ThreadedSocketService

    Connect a signal handler for the run signal, to be run before the default handler. When overloading is enabled, this is equivalent to

    on threadedSocketService #run callback
    

  6. threadedSocketServiceNew :: (HasCallStack, MonadIO m) => Int32 -> m ThreadedSocketService

    gi-gio GI.Gio.Objects.ThreadedSocketService

    Creates a new ThreadedSocketService with no listeners. Listeners must be added with one of the SocketListener "add" methods. Since: 2.22

  7. toThreadedSocketService :: (MonadIO m, IsThreadedSocketService o) => o -> m ThreadedSocketService

    gi-gio GI.Gio.Objects.ThreadedSocketService

    Cast to ThreadedSocketService, for types for which this is known to be safe. For general casts, use castTo.

  8. clearInputStreamClassReadAsync :: MonadIO m => InputStreamClass -> m ()

    gi-gio GI.Gio.Structs.InputStreamClass

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

    clear #readAsync
    

  9. clearInputStreamClassReadFinish :: MonadIO m => InputStreamClass -> m ()

    gi-gio GI.Gio.Structs.InputStreamClass

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

    clear #readFinish
    

  10. clearInputStreamClassReadFn :: MonadIO m => InputStreamClass -> m ()

    gi-gio GI.Gio.Structs.InputStreamClass

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

    clear #readFn
    

Page 512 of many | Previous | Next