bun run clang-format

This commit is contained in:
alii
2025-06-03 04:27:04 +00:00
committed by github-actions[bot]
parent 6df3ff2776
commit 9085bbcaab
2 changed files with 3 additions and 2 deletions

View File

@@ -164,7 +164,8 @@ public:
static ScriptExecutionContext* getMainThreadScriptExecutionContext();
bool canSendMessage() {
bool canSendMessage()
{
static constexpr size_t maxMessagesPerTick = 1000;
return m_messagesSentThisTick < maxMessagesPerTick;
}

View File

@@ -4467,4 +4467,4 @@ JSC_DEFINE_HOST_FUNCTION(jsFunctionCreateFunctionThatMasqueradesAsUndefined, (JS
scope.assertNoException();
auto* func = InternalFunction::createFunctionThatMasqueradesAsUndefined(vm, leixcalGlobalObject, count, name, jsFunctionNotImplemented);
return JSC::JSValue::encode(func);
}
}