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

refactor(binding-coap): refactor server's destroy method #988

Merged
merged 1 commit into from
May 11, 2023

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented May 9, 2023

In the context of #963. I noticed that the CoapServer's destroy method could use some cleanup. This PR refactors the method a bit, using async/await instead of a Promise, making the code a bit more readable.

There are other places like these elsewhere in the code, I will try to do some further cleanup when I'll continue working on #963 and issues like #982.

@JKRhb JKRhb force-pushed the refactor-coap-server branch from 7b6b060 to 39a1ba4 Compare May 9, 2023 20:37
@JKRhb JKRhb force-pushed the refactor-coap-server branch from 88e865e to 3046655 Compare May 10, 2023 15:22
@danielpeintner danielpeintner merged commit dc13ba1 into eclipse-thingweb:master May 11, 2023
@JKRhb JKRhb deleted the refactor-coap-server branch May 11, 2023 07:20
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.

3 participants