Skip to content

Commit

Permalink
Mark {add,remove}EventListener() as removed in migration guide (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbbot authored Jun 13, 2023
1 parent a645609 commit 7e4d906
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/content/get-started/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ open-source `workerd` runtime. See the
- `getKVNamespace()/getR2Bucket()/getCaches()/getDurableObjectNamespace()`
- Similarly, these methods return instances of Workers runtime classes that
are defined in a different process, and can no longer be supported.
- `addEventListener()`/`removeEventListener()`
- Miniflare no longer emits `reload` events. As Miniflare no longer watches
files, reloads are only triggered by initialisation or `setOptions()` calls.
In these cases, it's possible to wait for the reload with either
`await mf.ready` or `await mf.setOptions()` respectively.
- `Response#waitUntil()`
- [`workerd`](https://github.com/cloudflare/workerd) does not support waiting
for all `waitUntil()`ed promises yet.
Expand Down

0 comments on commit 7e4d906

Please sign in to comment.