MCPcopy Create free account
hub / github.com/DevLARLEY/PlayreadyProxy2 / saveSelectedDeviceType

Method saveSelectedDeviceType

utils.js:129–131  ·  view source on GitHub ↗
(selected_type)

Source from the content-addressed store, hash-verified

127 }
128
129 static async saveSelectedDeviceType(selected_type) {
130 await AsyncLocalStorage.setStorage({ device_type: selected_type });
131 }
132
133 static async getSelectedDeviceType() {
134 const result = await AsyncLocalStorage.getStorage(["device_type"]);

Callers

nothing calls this directly

Calls 1

setStorageMethod · 0.80

Tested by

no test coverage detected