Class IsInThread

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.async.IsInThread

@BoxBIF public class IsInThread extends BIF
  • Constructor Details

    • IsInThread

      public IsInThread()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Verifies if the calling execution code is running in a thread or not.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      True, if the calling code is running in a thread; false, otherwise.