- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,677 for Wignall (0.38 sec)
-
docs/topics/signals.rst
} See the :ref:`topics-signals-ref` below to know which signals support :class:`~twisted.internet.defer.Deferred` and :term:`awaitable objects <awaitable>`. .. _topics-signals-ref: Built-in signals reference ========================== .. module:: scrapy.signals :synopsis: Signals definitions Here's the list of Scrapy built-in signals and their meaning. Engine signals --------------
Plain Text - Registered: 2023-03-15 14:39 - Last Modified: 2023-02-14 08:40 - 15.9K bytes - Viewed (0) -
src/Illuminate/Console/Signals.php
* @return void */ public function register($signal, $callback) { $this->previousHandlers[$signal] ??= $this->initializeSignal($signal); with($this->getHandlers(), function ($handlers) use ($signal) { $handlers[$signal] ??= $this->initializeSignal($signal); $this->setHandlers($handlers); });
PHP - Registered: 2023-03-19 10:06 - Last Modified: 2022-09-02 14:58 - 3.6K bytes - Viewed (0) -
packages/core/strapi/lib/utils/signals.js
// For unknown reasons, we receive signals 2 times. // As a temporary fix, we ignore the signals received after the first one. const terminateStrapi = async () => { if (!signalReceived) { signalReceived = true; await strapi.destroy(); process.exit(); } }; ['SIGTERM', 'SIGINT'].forEach((signal) => { process.on(signal, terminateStrapi); }); }; module.exports = {
JavaScript - Registered: 2023-01-17 15:31 - Last Modified: 2022-08-11 08:20 - 514 bytes - Viewed (0) -
test/programmatic/signals.js
JavaScript - Registered: 2023-03-15 09:50 - Last Modified: 2019-10-30 12:54 - 8.7K bytes - Viewed (0) -
editor/js/libs/signals.min.js
a,b=this._listener.apply(this.context,a),this._isOnce&&this.detach());return b},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal;delete this._listener;delete this.context},toString:function(){return"[SignalBinding isOnce:"+this._isOnce+
JavaScript - Registered: 2023-01-25 04:56 - Last Modified: 2022-01-03 20:33 - 3.2K bytes - Viewed (0) -
scrapy/utils/signal.py
d.addCallback(lambda out: [x[1] for x in out]) return d def disconnect_all(signal=Any, sender=Any): """Disconnect all signal handlers. Useful for cleaning up after running tests """ for receiver in liveReceivers(getAllReceivers(sender, signal)):
Python - Registered: 2023-03-15 14:39 - Last Modified: 2023-01-25 20:25 - 3.2K bytes - Viewed (0) -
src/signals-unix.c
pthread_cond_broadcast(&signal_caught_cond); pthread_cond_wait(&exit_signal_cond, &in_signal_lock); request = jl_atomic_exchange(&ptls->signal_request, 0); assert(request == 1 || request == 3); // acknowledge that we got the resume signal pthread_cond_broadcast(&signal_caught_cond); pthread_mutex_unlock(&in_signal_lock); } else #endif
C - Registered: 2023-03-20 02:21 - Last Modified: 2022-11-08 05:18 - 37.9K bytes - Viewed (0) -
cmd/signals.go
exit(stopProcess()) case osSignal := <-globalOSSignalCh: logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String())) exit(stopProcess()) case signal := <-globalServiceSignalCh: switch signal { case serviceRestart: logger.Info("Restarting on service signal") stop := stopProcess() rerr := restartProcess() logger.LogIf(context.Background(), rerr)
Go - Registered: 2023-03-19 16:08 - Last Modified: 2022-12-22 22:25 - 2.5K bytes - Viewed (0) -
compose/cli/signals.py
import signal from ..const import IS_WINDOWS_PLATFORM class ShutdownException(Exception): pass class HangUpException(Exception): pass def shutdown(signal, frame): raise ShutdownException() def set_signal_handler(handler): signal.signal(signal.SIGINT, handler) signal.signal(signal.SIGTERM, handler) def set_signal_handler_to_shutdown(): set_signal_handler(shutdown)
Python - Registered: 2023-03-14 03:44 - Last Modified: 2020-06-03 15:37 - 873 bytes - Viewed (1) -
scrapy/signals.py
""" Scrapy signals These signals are documented in docs/topics/signals.rst. Please don't add new signals here without documenting them there. """ engine_started = object() engine_stopped = object() spider_opened = object() spider_idle = object() spider_closed = object() spider_error = object() request_scheduled = object() request_dropped = object() request_reached_downloader = object() request_left_downloader = object()
Python - Registered: 2023-03-15 14:39 - Last Modified: 2021-03-11 14:52 - 815 bytes - Viewed (0)