Implement Logger and abstract over chatbot#39
Open
willcrichton wants to merge 1 commit into08-abstraction-afrom
Open
Implement Logger and abstract over chatbot#39willcrichton wants to merge 1 commit into08-abstraction-afrom
willcrichton wants to merge 1 commit into08-abstraction-afrom
Conversation
c80c422 to
a8d4a7c
Compare
0bd641b to
3bd45be
Compare
a8d4a7c to
7e0c591
Compare
3bd45be to
317ec11
Compare
317ec11 to
410b67f
Compare
21c8fc5 to
53187e5
Compare
afa93a7 to
d12d997
Compare
53187e5 to
507e3f7
Compare
d12d997 to
b98bf48
Compare
b98bf48 to
6b15e0c
Compare
0e89b4e to
a0dd791
Compare
6b15e0c to
1843789
Compare
1843789 to
f375490
Compare
a0dd791 to
bcb975a
Compare
64e266f to
2503d3d
Compare
2503d3d to
2742335
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference solution for abstracting the chatbot w/ the logger. The core abstraction is a
StatefulFunctiontrait which represents a spawned Tokio task that receives someInput(an associated type) and returns someOutput(also an associated type).