mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 11:44:08 +00:00
feat!: replace split with mapAtom
This commit is contained in:
parent
fc3cd6d9ad
commit
4d4979daa9
11 changed files with 188 additions and 245 deletions
|
|
@ -1,6 +1,5 @@
|
|||
local atom = require(script.Parent.atom)
|
||||
type Atom<T> = atom.Atom<T>
|
||||
|
||||
local subscribe = require(script.Parent.subscribe)
|
||||
|
||||
local function observe<Item, Key>(atom: Atom<{ [Key]: Item }>, factory: (value: Item, key: Key) -> () -> ()): (() -> (), () -> ())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue