با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مقدار این شی را از سرور بازیابی می کند.
اگر عملکرد برگشت به تماس ارائه نشده باشد، درخواست به صورت همزمان انجام می شود. اگر پاسخ تماس ارائه شود، درخواست به صورت ناهمزمان انجام می شود.
حالت ناهمزمان ترجیح داده می شود زیرا حالت همزمان تمام کدهای دیگر (مثلاً رابط کاربری ویرایشگر کد EE) را در حین انتظار برای سرور متوقف می کند. برای ایجاد یک درخواست ناهمزمان، ارزیابی() بر getInfo() ترجیح داده می شود.
مقدار محاسبه شده این شی را برمی گرداند.
استفاده
برمی گرداند
Filter.getInfo ( callback )
شیء
استدلال
تایپ کنید
جزئیات
این: computedobject
Computed Object
نمونه ComputedObject.
callback
عملکرد، اختیاری
پاسخ به تماس اختیاری در صورت عدم ارائه، تماس به صورت همزمان انجام می شود.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["This function retrieves the computed value of a ComputedObject from the server."],["It can be used synchronously or asynchronously, with asynchronous being preferred for better performance."],["`evaluate()` is recommended for asynchronous requests, while `getInfo()` is used for synchronous requests with an optional callback function."],["The function returns the computed value as an Object."]]],["The `getInfo()` method retrieves an object's value from the server. It can operate synchronously or asynchronously. Asynchronous mode, using a callback function, is preferred because synchronous mode halts other code execution. If a callback isn't provided, the request is synchronous. The method returns the object's computed value. `evaluate()` is recommended for asynchronous requests. The callback is optional. It is called with the value from the server.\n"]]