Commit Graph

24 Commits

Author SHA1 Message Date
Avraham Sakal 74c9c438e3 add inline Peer definition to Interpreter() 2023-05-18 11:54:05 -04:00
Avraham Sakal 03584761b1 remove incorrect comment in example 2023-05-18 08:38:36 -04:00
Avraham Sakal c0860a6b50 Peer working 2023-05-17 18:09:44 -04:00
Avraham Sakal 636ba279c8 fix order of execution 2023-05-17 16:28:32 -04:00
Avraham Sakal 3e769c0fa5 add subscription types 2023-05-17 11:10:16 -04:00
Avraham Sakal 1857b4474a add subscribe method to interpreter 2023-05-17 10:06:25 -04:00
Avraham Sakal 37aa932956 change order of operations, add originalContext param to SideEffects 2023-05-17 09:39:58 -04:00
Avraham Sakal 7c4b48c391 rename variable for clarity 2023-05-17 08:53:26 -04:00
Avraham Sakal e740c57662 add generic type param to Interpreter for context 2023-05-17 08:44:14 -04:00
Avraham Sakal 38021baf64 make multiple calls to start() harmless 2023-05-16 21:12:38 -04:00
Avraham Sakal 91a628eeb3 add Interpreter().start() for convenient start-upon-creation 2023-05-16 21:06:43 -04:00
Avraham Sakal f99bc523fa update tests 2023-05-15 15:46:03 -04:00
Avraham Sakal 8306fa67cf add start() and pause() to interpreter 2023-05-15 15:44:13 -04:00
Avraham Sakal a3bb0f281c add (un)subscribe function 2023-05-15 13:22:11 -04:00
Brian Sakal a6f6c3cd17 improve ping-pong test 2023-05-14 15:44:46 -04:00
Brian Sakal ad41407ac6 use eventQueue; process Reactions in proper order 2023-05-14 15:39:22 -04:00
Brian Sakal 26383090ba remove typescript generics
they were getting in the way; it can be developed after the lib is
more mature
2023-05-14 11:50:30 -04:00
Brian Sakal e328533629 sync send works 2023-05-12 00:41:47 -04:00
Brian Sakal 0495f1d87a add Context generic type 2023-05-11 23:26:38 -04:00
Brian Sakal e37161d3a0 begin building Tick 2023-05-08 21:28:19 -04:00
Brian Sakal 8806ce48d7 TypeScript in example 2023-05-08 21:09:20 -04:00
Brian Sakal abf984bd5d TypeScript, send() 2023-05-08 21:07:03 -04:00
Brian Sakal f6adaa8f53 begin typescript types 2023-05-08 00:38:16 -04:00
Brian Sakal de370a32ed init 2023-05-07 23:10:23 -04:00