dchakarov / TrainInformationService

Information services for trains in the UK, using the National Rail open API
The Unlicense
3 stars 3 forks source link

Asynchronously fetch data #2

Open ChopsKingsland opened 1 year ago

ChopsKingsland commented 1 year ago

Is there a way to fetch data asynchronously so that it can be fetched in WidgetKit?

Edit: I accidentally submitted a blank issue

kiliszekmarcin commented 1 year ago

I created a fork of this repo with the async changes I made. Feel free to use it! https://github.com/kiliszekmarcin/TrainInformationService

I'll also request a PR here so more people can make use of it :))