Options
All
  • Public
  • Public/Protected
  • All
Menu

@grouparoo/core

Index

Namespaces

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

CacheKey

CacheKey: {} | CacheKey[] | string | number | boolean | Date

DestinationMappingOptionsResponseTypes

DestinationMappingOptionsResponseTypes: "any" | "boolean" | "date" | "email" | "float" | "integer" | "number" | "phoneNumber" | "string" | "url"

ExportArrayPropertiesMethodResponse

ExportArrayPropertiesMethodResponse: string[]

PluginOptionTypes

PluginOptionTypes: "string" | "list" | "typeahead" | "pending"

ProfilePropertiesPluginMethodResponse

ProfilePropertiesPluginMethodResponse: {}

Type declaration

ProfilePropertyPluginMethodResponse

ProfilePropertyPluginMethodResponse: (string | number | boolean | Date)[]

Variables

Const PropertyTypes

PropertyTypes: readonly "boolean"[] = ...

Functions

makeBaseCacheKey

  • makeBaseCacheKey(__namedParameters: Object): string
  • Parameters

    • __namedParameters: Object

    Returns string

Const objectCache

  • objectCache(argument: { cacheDurationMs?: number; cacheKey: CacheKey; lock?: boolean; objectId: string; passthru?: boolean; read?: boolean; write?: boolean }, methodToGetValue: () => Promise<any>): Promise<any>
  • Parameters

    • argument: { cacheDurationMs?: number; cacheKey: CacheKey; lock?: boolean; objectId: string; passthru?: boolean; read?: boolean; write?: boolean }
      • Optional cacheDurationMs?: number
      • cacheKey: CacheKey
      • Optional lock?: boolean
      • objectId: string
      • Optional passthru?: boolean
      • Optional read?: boolean
      • Optional write?: boolean
    • methodToGetValue: () => Promise<any>
        • (): Promise<any>
        • Returns Promise<any>

    Returns Promise<any>

Const objectCacheInvalidate

  • objectCacheInvalidate(argument: { objectId: string }): Promise<void>
  • Parameters

    • argument: { objectId: string }
      • objectId: string

    Returns Promise<void>

waitForLock

  • waitForLock(key: string, requestId?: string, ttl?: number, attempts?: number, sleepTime?: number): Promise<{ attempts: number; releaseLock: Function }>
  • Parameters

    • key: string
    • requestId: string = ...
    • ttl: number = ...
    • attempts: number = 0
    • sleepTime: number = ...

    Returns Promise<{ attempts: number; releaseLock: Function }>

Generated using TypeDoc