LCSynchronizer

@interface LCSynchronizer : NSObject

The LCSynchronizer object is used during micro service initialization to synchronize asynchronous initialization. This object is only needed if you require some asynchronous initialization and can be ignored otherwise.

  • Notify initializer that you are about to enter an asynchronous process.

    Declaration

    Objective-C

    - (void)enter;

    Swift

    func enter()
  • Notify initializer that async init is complete. Calls to -enter and -exit must be balanced.

    Declaration

    Objective-C

    - (void)exit;

    Swift

    func exit()