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

Implement Logger and abstract over chatbot #39

Open
wants to merge 1 commit into
base: 08-abstraction-a
Choose a base branch
from

Conversation

willcrichton
Copy link
Contributor

@willcrichton willcrichton commented Aug 23, 2024

Reference solution for abstracting the chatbot w/ the logger. The core abstraction is a StatefulFunction trait which represents a spawned Tokio task that receives some Input (an associated type) and returns some Output (also an associated type).

@willcrichton willcrichton force-pushed the 08-abstraction-b branch 2 times, most recently from 0bd641b to 3bd45be Compare August 26, 2024 21:09
@willcrichton willcrichton changed the title Abstractions solution Implement Logger and abstract over chatbot Aug 27, 2024
@willcrichton willcrichton force-pushed the 08-abstraction-b branch 2 times, most recently from afa93a7 to d12d997 Compare September 4, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant