Commit Graph

21 Commits

Author SHA1 Message Date
330a1507c9 make docstrings rdoc compatible 2023-08-29 11:21:05 +01:00
fe1de43250 add on method for registering blocks
examples updated
2023-08-18 00:27:43 +01:00
e989e72e51 move all require statements into top level file 2023-08-11 00:49:59 +01:00
e86d096ab9 fix method name 2023-08-10 20:37:55 +01:00
b2194c7aa3 adds running? method
returns producer thread alive state

fixes bug in strip/bus classes
2023-08-10 14:40:22 +01:00
8f985ecb94 use cache attr reader 2023-08-06 18:02:48 +01:00
c5faec40ea use thread local variable :running
and safe navigation to terminate producer thread
2023-08-05 23:08:21 +01:00
5292ac6bf1 use control flow operator 2023-08-03 18:50:25 +01:00
00cc4c9547 push @running into que when terminating threads 2023-08-03 18:45:42 +01:00
2dab83ec31 event type passed as symbol to on_update callback 2023-08-03 13:13:01 +01:00
a754e3b9ea move @running into init_producer 2023-08-03 11:04:13 +01:00
209e4298aa syntax changes 2023-08-01 23:41:23 +01:00
eaa9436081 mixin Callback module
observers should now be registered directly onto vm object

example updated to reflect changes
2023-07-28 18:51:15 +01:00
ce27f46a47 Mixin IRemote methods
added docstrings
2023-07-27 10:58:26 +01:00
ce8c82a2ca add init_event_threads, end_event_threads
to Worker module.

run now handles init/end event threads
2023-07-21 14:37:17 +01:00
ac7d9c0d03 Events::Callback now a class
on_event method renamed to trigger

events example updated to reflect changes to Events module
2023-07-17 08:34:34 +01:00
f14a549c03 now using standard Ruby logger module
easy_logging removed from dependencies

@configs now raises error on invalid key
2023-07-16 11:08:24 +01:00
c0d2379b62 ensure we initialize comp arrays
use zip,map to calculate comps
2023-07-14 21:03:40 +01:00
e3b72b9c45 run files through standard 2023-07-14 11:44:49 +01:00
520bab0fce level array variables moved into cache 2023-07-14 01:46:25 +01:00
c465fbf7a6 producer, consumer threads implemented 2023-07-13 21:57:32 +01:00