StateSignals
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.8%) to scientific vocabulary
Last synced: 8 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: sciflydev
- License: mit
- Language: Julia
- Default Branch: main
- Size: 38.1 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 3
Created over 1 year ago
· Last pushed about 1 year ago
Metadata Files
Readme
License
Code of conduct
Citation
README.md
StateSignals
This package implements a reactive graph-based state management system where values automatically update based on their dependencies. It is inspired by the Angular JS framework and built around three core concepts:
- Signal: wraps a value and notifies dependents when it changes.
- Computed signal: automatically derived values that update when their dependencies change.
- Effect: callback that run when its dependent signals change.
Simple example:
```julia using StateSignals x = Signal(1) y = Signal(2) z = computed(() -> x() + y()) # z is 3 effect(() -> println("Sum changed to: ", z()))
x(5) # Prints "Sum changed to: 7" ```
Using resources for long computations:
```julia using StateSignals
s = Signal(0) r = Resource([s]) do sleep(3) println("Resource acquired") s()*3 end s(3) ```
Owner
- Name: sciflydev
- Login: sciflydev
- Kind: organization
- Repositories: 1
- Profile: https://github.com/sciflydev
Citation (CITATION.cff)
# Go to https://citation-file-format.github.io/cff-initializer-javascript/#/ to finish this
cff-version: 1.2.0
title: StateSignals.jl
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Pere Giménez
email: gimenezfebrer@gmail.com
GitHub Events
Total
- Create event: 55
- Commit comment event: 13
- Release event: 3
- Issues event: 2
- Watch event: 2
- Issue comment event: 3
- Push event: 20
Last Year
- Create event: 55
- Commit comment event: 13
- Release event: 3
- Issues event: 2
- Watch event: 2
- Issue comment event: 3
- Push event: 20
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
juliahub.com: StateSignals
- Documentation: https://docs.juliahub.com/General/StateSignals/stable/
- License: MIT
-
Latest release: 0.2.1
published over 1 year ago
Rankings
Dependent repos count: 3.2%
Average: 9.8%
Dependent packages count: 16.3%
Last synced:
9 months ago
Dependencies
.github/workflows/CompatHelper.yml
actions
- julia-actions/cache v2 composite
- julia-actions/setup-julia v2 composite
.github/workflows/Lint.yml
actions
- actions/cache v4 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- julia-actions/cache v2 composite
- julia-actions/setup-julia v2 composite
- lycheeverse/lychee-action v2 composite
.github/workflows/PreCommitUpdate.yml
actions
- actions/checkout v4 composite
- actions/setup-python v5 composite
- peter-evans/create-pull-request v7 composite
.github/workflows/ReusableTest.yml
actions
- actions/checkout v4 composite
- codecov/codecov-action v4 composite
- julia-actions/cache v2 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v2 composite
.github/workflows/TagBot.yml
actions
- JuliaRegistries/TagBot v1 composite
.github/workflows/Test.yml
actions
.github/workflows/TestOnPRs.yml
actions