mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
bun run clang-format
This commit is contained in:
committed by
github-actions[bot]
parent
6df3ff2776
commit
9085bbcaab
@@ -164,7 +164,8 @@ public:
|
||||
|
||||
static ScriptExecutionContext* getMainThreadScriptExecutionContext();
|
||||
|
||||
bool canSendMessage() {
|
||||
bool canSendMessage()
|
||||
{
|
||||
static constexpr size_t maxMessagesPerTick = 1000;
|
||||
return m_messagesSentThisTick < maxMessagesPerTick;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user