ateBidirectionalStream();
            return await wasiKeyvalueStoreOpen(
                stream.writable.getWriter(),
                stream.readable.getReader(),
                identifier,
            ).then(bucket => {
                const bucketName = uuidString(bucket);
                dbg.log(`opened bucket ${bucketName}`);
                buckets.set(identifier, bucket);
                return bucket;
            }, err => {
                throw 'failed to open bucket: ' + err;
            });
   