diff options
Diffstat (limited to 'ext/broadcast_channel/lib.rs')
-rw-r--r-- | ext/broadcast_channel/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs index 3df11566f..5b38e70f8 100644 --- a/ext/broadcast_channel/lib.rs +++ b/ext/broadcast_channel/lib.rs @@ -114,13 +114,13 @@ deno_core::extension!(deno_broadcast_channel, op_broadcast_recv<BC>, ], esm = [ "01_broadcast_channel.js" ], - config = { + options = { bc: BC, unstable: bool, }, - state = |state, bc, unstable| { - state.put(bc); - state.put(Unstable(unstable)); + state = |state, options| { + state.put(options.bc); + state.put(Unstable(options.unstable)); }, ); |