void BluetoothRemoteGATTCharacteristic::dispatchCharacteristicValueChanged(
    const WebVector<uint8_t>& value)
{
    RefPtr<DOMDataView> domDataView = ConvertWebVectorToDataView(value);
    this->setValue(domDataView);
    dispatchEvent(Event::create(EventTypeNames::characteristicvaluechanged));
}
    void onSuccess(const WebVector<uint8_t>& value) override
    {
        if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
            return;

        if (m_webCharacteristic) {
            m_webCharacteristic->setValue(ConvertWebVectorToDataView(value));
        }
        m_resolver->resolve();
    }