The Rust Programming Language,2nd Editionhandle to the standard input for your terminal. The next part of the code, .read_line(&mut guess), calls the read_line method on the standard input handle to get input from the user. We’re also passing However, one long line is difficult to read, so it’s best to divide it, two lines for two method calls. Now let’s discuss what this line does. Handling Potential Failure with the Result Type As mentioned expressions next. 65 Functions with Return Values Functions can return values to the code that calls them. We don’t name return values, but we do declare their type after an arrow (->). In Rust, the0 码力 | 617 页 | 1.54 MB | 1 年前3
Django Q Documentation
Release 0.7.11however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking storage at all. • Defaults to 250 • Failures are always saved. 1.2.8 sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous Tasks 15 Django Q Documentation, Release 0.7.11 sync Simulates a task execution synchronously. Useful for testing. Can also be forced globally via the sync configuration option. cached Redirects the result0 码力 | 54 页 | 412.45 KB | 1 年前3
Django Q Documentation
Release 0.7.13however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking storage at all. • Defaults to 250 • Failures are always saved. 1.2.8 sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous the cluster’s timeout setting for this task. sync Simulates a task execution synchronously. Useful for testing. Can also be forced globally via the sync configuration option. cached Redirects the result0 码力 | 56 页 | 416.37 KB | 1 年前3
Django Q Documentation
Release 0.7.12however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking storage at all. • Defaults to 250 • Failures are always saved. 1.2.8 sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous the cluster’s timeout setting for this task. sync Simulates a task execution synchronously. Useful for testing. Can also be forced globally via the sync configuration option. cached Redirects the result0 码力 | 56 页 | 415.46 KB | 1 年前3
Django Q Documentation
Release 0.7.11Requirements Compatibility Configuration name workers recycle timeout retry compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking success storage at all. Defaults to 250 Failures are always saved. sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous0 码力 | 72 页 | 526.88 KB | 1 年前3
Django Q Documentation
Release 0.7.10Requirements Compatibility Configuration name workers recycle timeout retry compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking success storage at all. Defaults to 250 Failures are always saved. sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous0 码力 | 67 页 | 518.39 KB | 1 年前3
Django Q Documentation
Release 0.7.14Requirements Compatibility Configuration name workers recycle timeout retry compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking success storage at all. Defaults to 250 Failures are always saved. sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous0 码力 | 73 页 | 527.40 KB | 1 年前3
Django Q Documentation
Release 0.7.12Requirements Compatibility Configuration name workers recycle timeout retry compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking success storage at all. Defaults to 250 Failures are always saved. sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous0 码力 | 73 页 | 527.33 KB | 1 年前3
Django Q Documentation
Release 0.7.18Requirements Compatibility Configuration name workers recycle timeout retry compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking success storage at all. Defaults to 250 Failures are always saved. sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous0 码力 | 73 页 | 516.84 KB | 1 年前3
Django Q Documentation
Release 0.7.15Requirements Compatibility Configuration name workers recycle timeout retry compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking success storage at all. Defaults to 250 Failures are always saved. sync When set to True this configuration option forces all async() calls to be run with sync=True. Effectively making everything synchronous0 码力 | 73 页 | 528.16 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













