FSourceControlFileStatusMonitor::SetSuspendMonitoringPolicy

Sets a function invoked to detect if the monitor should suspend its activities, for example, if no user is currently interacting with the application, it may not worth checking the file status periodically.

Unreal Engine C++ API Reference > Developer > SourceControl > FSourceControlFileStatusMonitor

References

   
Module SourceControl
Header /Engine/Source/Developer/SourceControl/Public/SourceControlFileStatusMonitor.h
Include #include "SourceControlFileStatusMonitor.h"
void SetSuspendMonitoringPolicy
(
    [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< bool()> IsMonitoringSuspended
)

Remarks

Sets a function invoked to detect if the monitor should suspend its activities, for example, if no user is currently interacting with the application, it may not worth checking the file status periodically. By default, the monitor will suspends if there are not Slate interaction within 5 minutes and resume at the next user interaction.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library