Problem/Motivation

Split from #3257725: Add a cache prewarm API.

Once we have both #3257725: Add a cache prewarm API and #3425114: Add revolt/event-loop dependency to core (and maybe one more issue in-between, not sure), we can add a Drupal\Core\Async\usleepNonBlocking; method which will run down any pending event loop tasks while waiting for a lock to be released.

See the issue summary of #3257725: Add a cache prewarm API for more details.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3483239

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

catch created an issue. See original summary.

catch’s picture

#3257725: Add a cache prewarm API is in so this is theoretically possible to implement now.

catch’s picture

https://git.drupalcode.org/project/drupal/-/merge_requests/7023 has a revolt implementation already, we should extract that here.

Also going to extract the pure-fibers implementation from that issue too.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.