Go 101 (Golang 101) v1.21.0called selectors (or selector expressions), to represent the field values of v. v is called the receiver of the selectors. Later, we call the dot . in a selector as the property selection operator. An = book1.pages // This last line is equivalent to the above line. // In other words, if the receiver is a pointer, // it will be implicitly dereferenced. (*book2).pages = (*book1).pages } About goroutine into the value buffer, the other happens when the value is copied from the value buffer to the receiver goroutine. Like value assignments and function argument passing, when a value is transferred, only0 码力 | 610 页 | 945.17 KB | 1 年前3
Go 101 (Golang 101) v1.21.0called selectors (or selector expressions), to represent the field values of v. v is called the receiver of the selectors. Later, we call the dot . in a selector as the property selection operator. An 11 | // This last line is equivalent to the above line. 12 | // In other words, if the receiver is a pointer, 13 | // it will be implicitly dereferenced. 14 | (*book2).pages = (*book1) goroutine into the value buffer, the other happens when the value is copied from the value buffer to the receiver goroutine. Like value assignments and function argument passing, when a value is transferred, only0 码力 | 880 页 | 833.34 KB | 1 年前3
Celery 2.2 Documentationbeen received will not be deleted from the broker until it has been acknowledged by the receiver, so if the receiver dies in the middle of processing the message, it will be re-sent at a later point in time Dispatcher(connection=None, hostname=None, enabled=True, channel=None, buffer_while_offline=True) Receiver(connection, handlers=None, routing_key='#', node_id=None) State() celery.events.create_event(type `{receriverkey (id): weakref(receiver)}` mappings. connect(receiver, sender=None, weak=True, dispatch_uid=None) Connect receiver to sender for signal. Parameters: receiver – A function or an instance0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.3 Documentationbeen received will not be deleted from the broker until it has been acknowledged by the receiver, so if the receiver dies in the middle of processing the message, it will be re-sent at a later point in time Dispatcher(connection=None, hostname=None, enabled=True, channel=None, buffer_while_offline=True) Receiver(connection, handlers=None, routing_key='#', node_id=None) State() default_dispatcher(*args, **kwds) `{receriverkey (id): weakref(receiver)}` mappings. connect(receiver, sender=None, weak=True, dispatch_uid=None) Connect receiver to sender for signal. Parameters: receiver – A function or an instance0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery v5.0.1 Documentationsomething with those events at an interval. For real-time event processing you should use app.events.Receiver directly, like in Real-time processing. Here is an example camera, dumping the snapshot to screen: state = app.events.State() with app.connection() as connection: recv = app.events.Receiver(connection, handlers={'*': state.event}) with DumpCam(state, freq=freq): recv processing To process events in real-time you need the following An event consumer (this is the Receiver) A set of handlers called when events come in. You can have different handlers for each event0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentationsomething with those events at an interval. For real-time event processing you should use app.events.Receiver directly, like in Real-time processing. Here is an example camera, dumping the snapshot to screen: state = app.events.State() with app.connection() as connection: recv = app.events.Receiver(connection, handlers={'*': state.event}) with DumpCam(state, freq=freq): recv processing To process events in real-time you need the following An event consumer (this is the Receiver) A set of handlers called when events come in. You can have different handlers for each event0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 Documentationsomething with those events at an interval. For real-time event processing you should use app.events.Receiver directly, like in Real-time processing. Here is an example camera, dumping the snapshot to screen: state = app.events.State() with app.connection() as connection: recv = app.events.Receiver(connection, handlers={'*': state.event}) with DumpCam(state, freq=freq): recv processing To process events in real-time you need the following An event consumer (this is the Receiver) A set of handlers called when events come in. You can have different handlers for each event0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery v5.0.5 Documentationsomething with those events at an interval. For real-time event processing you should use app.events.Receiver directly, like in Real-time processing. Here is an example camera, dumping the snapshot to screen: state = app.events.State() with app.connection() as connection: recv = app.events.Receiver(connection, handlers={'*': state.event}) with DumpCam(state, freq=freq): recv processing To process events in real-time you need the following An event consumer (this is the Receiver) A set of handlers called when events come in. You can have different handlers for each event0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery 2.0 Documentationsignify that a message has been received and processed successfully. The message is sent to the next receiver if it has not been acknowledged before the client connection is closed. Note the delivery tag been received will not be deleted from the broker until it has been acknowledged by the receiver, so if the receiver dies in the middle of processing the message, it will be re-sent at a later point in time ``{receriverkey (id): weakref(receiver)}`` mappings. connect(receiver, sender=None, weak=True, dispatch_uid=None) Connect receiver to sender for signal. Parameters: receiver – A function or an instance0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery v4.2.1 Documentationsomething with those events at an interval. For real-time event processing you should use app.events.Receiver directly, like in Real-time processing. Here is an example camera, dumping the snapshot to screen: state = app.events.State() with app.connection() as connection: recv = app.events.Receiver(connection, handlers={'*': state.event}) with DumpCam(state, freq=freq): recv processing To process events in real-time you need the following An event consumer (this is the Receiver) A set of handlers called when events come in. You can have different handlers for each event0 码力 | 1121 页 | 1.38 MB | 1 年前3
共 333 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34













