asarazan / bismarck Goto Github PK
View Code? Open in Web Editor NEWCaching for Kotlin Multiplatform
License: Apache License 2.0
Caching for Kotlin Multiplatform
License: Apache License 2.0
I think there's probably a lot of cruft from the legacy stately model we copied. Would be cool to get things running on newer standards + kotlin build files.
So was thinking if we can call Bismarck.insert(Data)
, for whenever we might need to manually update Bismarck data, it might also be necessary to manually insert an error response.
For example, if the Fetcher
just makes a get
request, but later we need to make a put
or a post
, we would need to do that manually. If that network request has an error, shouldn't we also send that through to the eachError
callback?
Need a common, file-based storage strategy for persisting to disk. Most of this is ready to go.
TODO:
FileLike
interfaceNeed a way for a bismarck to "depend" on another bismarck, such that changes cascade down the dependency graph.
Should be pretty straightforward. It's probably just a clever use of eachValue
Do we want a transform "pipeline" such that we can essentially map the values coming out of a bismarck? Theoretically you could rig this up pretty easily on top of the existing eachValue
flow. See RescopedBismarck
for inspiration.
I didn't like the class hierarchy that we had, so I switched it to dedupe outgoing calls by default. I don't see a lot of utility in the dumb approach but I'm open to arguments
We need a relatively realistic reference Implementation, not only for our eventual consumers but for our own ideation.
Because eachError
is backed by a ConflatedBroadcastChannel
, it'll replay errors, but I might not be concerned with any previous error values. It would be nice if we could either clear the error, or have this work like a flow
and "drop" the first error. Also, this seems related to issue #13, and could be solved by adding the ability to manually update the error value
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.