mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 20:26:00 +08:00
21 lines
495 B
C#
21 lines
495 B
C#
|
using Jint;
|
||
|
using Jint.Native;
|
||
|
using Jint.Native.Function;
|
||
|
|
||
|
namespace BililiveRecorder.Core.Scripting.Runtime
|
||
|
{
|
||
|
public class JintFetchSync : FunctionInstance
|
||
|
{
|
||
|
private static readonly JsString functionName = new JsString("fetch");
|
||
|
|
||
|
public JintFetchSync(Engine engine) : base(engine, engine.Realm, functionName)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override JsValue Call(JsValue thisObject, JsValue[] arguments)
|
||
|
{
|
||
|
return Undefined;
|
||
|
}
|
||
|
}
|
||
|
}
|