mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
* Pretty good spot * Working draft * Fix other mode * Add js to git * Working * Add code * fix * Fix * Add code * Fix submit race condition * demo * fix * Fix * Fix
16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
import { _ as s } from "./mermaid.core-C0Blj36u.js";
|
|
var t, e = (t = class {
|
|
/**
|
|
* @param init - Function that creates the default state.
|
|
*/
|
|
constructor(i) {
|
|
this.init = i, this.records = this.init();
|
|
}
|
|
reset() {
|
|
this.records = this.init();
|
|
}
|
|
}, s(t, "ImperativeState"), t);
|
|
export {
|
|
e as I
|
|
};
|