y must be set';
            if (key.length > 127) throw 'this example currently does not support keys longer than 127 bytes - open a PR!';

            dbg.debug('creating `get` stream...');
            const stream = await conn.createBidirectionalStream();
            await wasiKeyvalueStoreBucketGet(
                stream.writable.getWriter(),
                stream.readable.getReader(),
                bucket,
                key,
            ).then(value => {
                if (!value) {
             