actomaton / actomaton Goto Github PK
View Code? Open in Web Editor NEWπ Swift async/await & Actor-powered effectful state-management framework.
License: MIT License
π Swift async/await & Actor-powered effectful state-management framework.
License: MIT License
I wonder whether this could be used as the underlying "data framework" for implementing 7guis using any GUI toolking of your choice (probably one of those used in Apple ecosystems)?
Hi.
I played with Actomaton version 0.3.1 and I was happy with it.
Now I tried to upgrade to 0.6.0 and I get the following compilation error:
The package product 'ActomatonStore' cannot be used as a dependency of this target because it uses unsafe build flags.
The commit which introduced the change is this:
Add Sendable
conformances, -warn-concurrency
& -enable-actor-data-race-checks
compiler options
To me this unsafe flags error seems confusing, like for the others.
If that unsafe flags are banned from the dependencies, what should we do? Is that absolutely necessary to add or there is a workaround setting into the project which depend on unsafe flagged packages?
Hi, I'm trying to dispatch an action to the store, using the new drag and drop api for SwiftUI (MacOS Ventura).
Here's the modifier:
.dropDestination(for: I.self) { items, location in store.send(.interaction(.droppedListItems((items, itemId)))) return false }isTargeted: { inDropArea in self.dropHovered = inDropArea }
I get the warning "Data race detected: @mainactor function at ActomatonUI/ViewStore.swift:40 was not called on the main thread"
What am I doing wrong ? Any solution to this would be highly appreciated. Thanks!
iβm facing problem about some project which is using actomaton
did breaking type-check.
no problem using binary operation +
1~3 times.
but sometimes use over 3 times, it's problem occurred.
i hope some advice about it π
It happens type-check error.
Compiler error message:
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
ex.
let effect1 = Effect {
// do some side effect
Action.a
} + Effect {
// do some side effect
return nil
}
let effect2 = Effect {
// do some side effect
Action.b
} + Effect {
// do some side effect
return nil
}
// work fine
return effect1 + effect2
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.