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.
type
ThreadedSocketServiceRunCallback = SocketConnection -> Maybe Object -> IO Boolgi-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.
-
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. -
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.
getThreadedSocketServiceMaxThreads :: (MonadIO m, IsThreadedSocketService o) => o -> m Int32gi-gio GI.Gio.Objects.ThreadedSocketService Get the value of the “max-threads” property. When overloading is enabled, this is equivalent to
get threadedSocketService #maxThreads
-
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
threadedSocketServiceNew :: (HasCallStack, MonadIO m) => Int32 -> m ThreadedSocketServicegi-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
toThreadedSocketService :: (MonadIO m, IsThreadedSocketService o) => o -> m ThreadedSocketServicegi-gio GI.Gio.Objects.ThreadedSocketService Cast to ThreadedSocketService, for types for which this is known to be safe. For general casts, use castTo.
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
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
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