From dfc2467aedcd2e6e56276901c4c6a88fa7fd11e3 Mon Sep 17 00:00:00 2001 From: echicken <echicken@bbs.electronicchicken.com> Date: Tue, 30 Apr 2024 05:19:45 +0000 Subject: [PATCH] Remove stale info --- README.md | 2 -- readme.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index da22dae..524b153 100644 --- a/README.md +++ b/README.md @@ -189,8 +189,6 @@ Serveral `*Device` methods accept a `responseHandler` parameter, which is a `pac The `sendPacket` and `sendText` methods accept a `responseHandler` as well as an `ackHandler` function as part of their parameters. (Both of these are of type `packetHandler`.) Supplying these implicitly sets `wantResponse` and `wantAck` to `true`, respectively. (Setting `wantResponse` and `wantAck` to `true` but omitting the handlers is also possible.) -The `sendEncrypted` method accepts an `ackHandler` function as part of its parameters, with the same behaviour as in `sendPacket` and `sendText`. - *Handlers* **override** *callbacks*. If a handler has been supplied to any of these methods, the handler will be called when an `ack` or `response` has been received, and the callback for that type of message *will not be called*. However, if there are both an `ackHandler` and a `responseHandler`, both of those *will* be called. So if you do this: ```ts diff --git a/readme.md b/readme.md index 1b5cfd4..f7c3481 100644 --- a/readme.md +++ b/readme.md @@ -161,8 +161,6 @@ Serveral `*Device` methods accept a `responseHandler` parameter, which is a `pac The `sendPacket` and `sendText` methods accept a `responseHandler` as well as an `ackHandler` function as part of their parameters. (Both of these are of type `packetHandler`.) Supplying these implicitly sets `wantResponse` and `wantAck` to `true`, respectively. (Setting `wantResponse` and `wantAck` to `true` but omitting the handlers is also possible.) -The `sendEncrypted` method accepts an `ackHandler` function as part of its parameters, with the same behaviour as in `sendPacket` and `sendText`. - *Handlers* **override** *callbacks*. If a handler has been supplied to any of these methods, the handler will be called when an `ack` or `response` has been received, and the callback for that type of message *will not be called*. However, if there are both an `ackHandler` and a `responseHandler`, both of those *will* be called. So if you do this: ```ts -- GitLab