Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actor model (since 1973) & XState #1

Merged
merged 340 commits into from
May 8, 2022
Merged

Actor model (since 1973) & XState #1

merged 340 commits into from
May 8, 2022

Conversation

huan
Copy link
Member

@huan huan commented Nov 29, 2021

Update May 8, 2022

SLOC: 7,633

$ npx sloc src/ tests/

---------- Result ------------

            Physical :  12215
              Source :  7633
             Comment :  3369
 Single-line comment :  213
       Block comment :  3156
               Mixed :  13
 Empty block comment :  0
               Empty :  1226
               To Do :  7

Number of files read :  149

----------------------------

Update Apr 19, 2022

SLOC: 3575

We have moved Mailbox (with Duckula) to the mailbox NPM module

$ npx sloc application-actors/*.ts domain-actors/*.ts ioc/*.ts duck/*.ts services/*.ts to-text/*.ts  wechaty-actor/*.ts

---------- Result ------------

            Physical :  4568
              Source :  3575
             Comment :  523
 Single-line comment :  123
       Block comment :  400
               Mixed :  10
 Empty block comment :  0
               Empty :  480
               To Do :  3

Number of files read :  45

----------------------------

Update Jan 9, 2022

SLOC: 6,340

$ npx sloc actors/*.ts mailbox/*.ts schemas/*.ts
---------- Result ------------

            Physical :  6340
              Source :  4859
             Comment :  760
 Single-line comment :  184
       Block comment :  576
               Mixed :  8
 Empty block comment :  0
               Empty :  729
               To Do :  4

Number of files read :  47
----------------------------

Use XState with Actor model for managing our meeting with conversation turns, with the great Typed Inject Inverse of Control library.

Related links

image

@huan huan changed the title Actor pattern Actor model (since 1973) Nov 29, 2021
@huan huan changed the title Actor model (since 1973) Actor model (since 1973) & XState Dec 1, 2021
@huan huan merged commit 7070165 into main May 8, 2022
@huan huan deleted the actor-pattern branch May 8, 2022 14:21
huan added a commit to wechaty/actor that referenced this pull request May 8, 2022
huan added a commit to wechaty/actor that referenced this pull request May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant