Skip to content

Implement Logger and abstract over chatbot#39

Open
willcrichton wants to merge 1 commit into08-abstraction-afrom
08-abstraction-b
Open

Implement Logger and abstract over chatbot#39
willcrichton wants to merge 1 commit into08-abstraction-afrom
08-abstraction-b

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
@willcrichton willcrichton force-pushed the 08-abstraction-b branch 2 times, most recently from 64e266f to 2503d3d Compare June 25, 2025 19:00
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