periph icon indicating copy to clipboard operation
periph copied to clipboard

conn: deprecate Halt()

Open maruel opened this issue 6 years ago • 1 comments

Move the blocking operation context from the driver to the individual function call.

See https://docs.google.com/document/d/1vQdZdoOMaIan7dKwcAzqHbfM_LCnnSMUQvqypRkjohM for more information.

As such, Halt() will not be needed anymore.

maruel avatar Jan 14 '19 18:01 maruel

This is a big deal, but the rationale is that it will tremendously simplify the device drivers. Most people get this wrong, and it had been a point of friction for contributors and obscure for users.

maruel avatar Jan 14 '19 19:01 maruel

Ported to https://github.com/periph/conn/issues/29.

maruel avatar Sep 18 '23 20:09 maruel