WordPress at a glance
function is not described

ActionScheduler_Lock::instance() public WC 1.0

{} It's a method of the class: ActionScheduler_Lock{}

Hooks from the method
Return

ActionScheduler_Lock. Nothing.

Usage

$result = ActionScheduler_Lock::instance();

Code of ActionScheduler_Lock::instance() WC 5.3.0

<?php
public static function instance() {
	if ( empty( self::$locker ) ) {
		$class = apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' );
		self::$locker = new $class();
	}
	return self::$locker;
}