Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

look4me's avatar

Asynchronous "Action" operation?

In Repeater I have an Actions that fetches data from the API and updates the component. Unfortunately Action::make work synchronously (multiple click) and I need to have asynchronous work. Is there any other way to make async work?

->action(function (Set $set, $state) {
   // connect to API
    $state = $dataFromAPI
    $set("photos", $state);
})`
0 likes
0 replies

Please or to participate in this conversation.