Is it possible to pass data to dataSources asynchronously?
See original GitHub issueTrying JungleJS for the first time now, good work!
I wonder if it’s possible to query data from an external source (eg. fetch
from external API) then pass it to dataSources
items
?
The problem is, it has to be done asynchronously. Is it possible at all to return exports
in jungle.config.js
asynchronously? Or is there any other way to achieve this?
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
How can I have an async stream return with 2 data sources
The easiest solution is to just use a single buffer with multiple producers and a single consumer combined with a message packet. The ......
Read more >Synchronous vs. Asynchronous data sources - Level Up Coding
One common misunderstanding, especially when testing reactive streams, is treating synchronous data sources as asynchronous.
Read more >How To Handle Async Data Loading, Lazy Loading, and ...
In this tutorial, you'll handle asynchronous data in React by creating an ... function that simulates a request to an external data source....
Read more >DataSource - How to send an asynchronous request from ...
Hi, I would like to know if it's possible to force synchronous execution in the DataSource 'map' block. ... var ds = new...
Read more >Synchronous Vs. Asynchronous Data Sources
Distinguish between synchronous and asynchronous data sources, which is essential when dealing with reactive streams. ... One common misunderstanding, especially ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Hashnode Post
No results found
Awesome! Never worked with Sanity before but nice to know you can do that. And yep I’ll make sure to clone it later tonight and poke around!
@hangtwenty Please submit a PR or at least share more of your jungle.config.js so we can see what’s going on