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

计时装饰器 #15

Open
DriedYellowPeach opened this issue Mar 24, 2022 · 0 comments
Open

计时装饰器 #15

DriedYellowPeach opened this issue Mar 24, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DriedYellowPeach
Copy link
Collaborator

Relay函数需要计时, 为了不修改函数签名,所以使用装饰器的模式。然后还要在包初始化的时候去调用装饰器,返回一个带计时的Relay函数

@DriedYellowPeach DriedYellowPeach added the enhancement New feature or request label Mar 24, 2022
@DriedYellowPeach DriedYellowPeach self-assigned this Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant