Justin Starry
e08b33d0cd
Fix multi_thread example ( #689 )
2019-10-09 15:29:52 -04:00
Benjamin Reynolds
01c0dd0633
Use trait objects with explicit dyn in examples ( #687 )
...
Fixes #685
Address deprecations warnings in the examples directory:
warning: trait objects without an explicit `dyn` are deprecated
2019-10-08 09:53:44 -04:00
Justin Starry
43e9347269
Add render method to Component and auto implement Renderable ( #563 )
...
* Add render method to Component and auto implement Renderable
* More cleanup
* Rename Renderable method from view to render
* Doc fixes
* fix
* Update CHANGELOG.md
2019-09-30 22:23:25 -04:00
Henry Zimmerman
74583ed64e
Remove Transferable trait ( #319 )
...
* remove transferable trait
* remove transferable from router example, run cargo fmt
* cargo fmt
* Remove Transferable from multi_thread example
2019-09-29 23:26:29 -04:00
Justin Starry
38300e6597
cargo fmt --all
2019-07-30 00:51:18 -04:00
Justin Starry
fe3d6249d3
Use updated jsx syntax in examples and documentation
2019-07-05 21:49:12 -04:00
Justin Starry
3963dc3dea
Remove old html macro, default to new proc macro
2019-07-02 14:38:35 -04:00
NaokiM03
3023aaa511
Fix script src of examples
2019-02-16 10:32:57 +03:00
Denis Kolodin
2a1903cb4d
Update all examples to Rust 2018
2019-02-02 16:03:07 +03:00
Prasanna V. Loganathar
efce1ad087
fix: multi-thread example: link needs to be mutable
2018-11-07 19:26:23 +05:30
Denis Kolodin
bee775616f
Detach worker registration from a main initialization routine
...
Workers become more compact with simple type specification.
2018-06-09 16:23:14 +03:00
Denis Kolodin
7451005c28
Implement separate thread worker with a bridge
2018-06-08 09:44:20 +03:00
Denis Kolodin
d340aaf356
Add a completely new Context based on actors model (agent)
2018-06-08 09:44:20 +03:00
Denis Kolodin
abc9408147
Add local job and a prototype of actored context
2018-06-08 09:44:20 +03:00
Denis Kolodin
0a30abc1b8
Add visibility scopes for agents
2018-06-08 09:44:20 +03:00
Denis Kolodin
258d55f465
Rename Message trait to Transferable
...
TO avoid confusion with Message of Component
2018-06-08 09:44:20 +03:00
Denis Kolodin
126f847d34
Remove CTX type of examples
2018-06-08 09:44:20 +03:00
Denis Kolodin
e73f025b09
Remove context argument from examples
2018-06-08 09:44:20 +03:00
Denis Kolodin
f9d25a6dff
Separate component link off a context
2018-06-08 09:44:20 +03:00
Denis Kolodin
d40b91195d
Refactor prelude module for workers
2018-06-08 09:44:20 +03:00
Denis Kolodin
febcb65889
Remove context from multi-thread example
2018-06-08 09:44:20 +03:00
Denis Kolodin
39716ce6aa
Implement responses for agents
2018-06-08 09:44:20 +03:00
Denis Kolodin
b0df296fa8
Add interval task to multi-thread example
2018-06-08 09:44:20 +03:00
Denis Kolodin
04591f1763
Add link to agent's scope
2018-06-08 09:44:20 +03:00
Denis Kolodin
c8515af2c2
Move spawn and register methods to a separate Worker trait
2018-06-08 09:44:20 +03:00
Denis Kolodin
8c3e075ae2
Add an environment for agents
2018-06-08 09:44:20 +03:00
Denis Kolodin
8c4f60480e
Add fetch service to multi thread example
2018-06-08 09:44:20 +03:00
Denis Kolodin
6e0dd80e3e
Add agents
2018-06-08 09:44:20 +03:00