Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
zap
main
Top Level Namespace
Crystar
Header
Writer
Deduped
DedupeLock
DependencyType
Dir
Filter
GloballyDeduped
Helpers
Object
OptionParser
Package
Parallel
SafeArray
SafeDeque
SafeHash
SafeSet
ScriptNotFoundError
Semver
Workspace
Workspaces
Zap
Backend
Backends
CloneFile
Copy
CopyFile
Hardlink
Pipeline
Symlink
CLI
DlxConfig
ExecConfig
InitConfig
InstallConfig
RebuildConfig
RunConfig
StoreConfig
WhyConfig
Commands
Config
Dlx
Config
Exec
Config
Init
Config
Install
Config
InstallStrategy
Omit
Manifest
Semver
Pipeline
Protocol
Alias
Spec
Aliased
Base
File
Resolver
Spec
Git
Resolver
Git
Github
Spec
PathInfo
Registry
Resolver
Spec
Resolver
Specifier
SpecHelper
TarballUrl
Resolver
Spec
Workspace
Resolver
Spec
RegistryClients
Resolver
Pipeline
State
Rebuild
Config
Run
Config
Store
Config
StoreAction
Why
Config
PackageResult
Config
FLockScope
InferredContext
ScopeType
WorkspaceOrPackage
WorkspaceScope
Debug
Formatter
SourceData
ErrorCodes
Installer
Base
Ancestors
Classic
DependencyItem
Location
LocationNode
Node
Writer
File
Git
InstallResult
Registry
HoistAction
Tarball
Workspace
Isolated
Semver
Writer
File
Git
Registry
Tarball
PnP
Ancestors
Manifest
Data
PackageDependency
PackageReference
PackageRegistryData
PackageReference
Runtime
Writer
File
Git
Registry
Tarball
Lockfile
Format
ReadStatus
Root
Npmrc
RegistryAuth
Package
Alias
DependencyType
Dist
Git
Link
Registry
Tarball
Workspace
Helpers
Dependencies
Kind
LifecycleScripts
Overrides
Override
Parent
PackageExtension
ZapConfig
Reporter
Interactive
Null
ReporterFormattedAppendPipe
ReporterPrependPipe
Store
Utils
Concurrent
DedupeLock
Global
KeyedLock
Global
Parallel
Pipeline
PipelineException
RWLock
Thread
Debounce
Directories
Fetch
Cache
InMemory
InStore
MessagePackSerializer
NoopSerializer
Serializer
File
PackagesData
FromEnv
Env
Git
Ignore
Pattern
Remote
Glob
Macros
OrderedHashConverter
OrderedSafeHashConverter
OrderedSetConverter
Pool
Scripts
Pipeline
Printer
Deferred
RealTime
ScriptData
ScriptDataNested
Semver
Comparator
ComparatorSet
Limit
Boundary
Operator
Partial
Prerelease
Range
Scanner
Version
TarGzip
Timeout
Various
STDOUTSync
Workspaces
CycleException
Diffs
Filter
Relationships
Workspace
Generated using Crystal 1.10.1
2024-05-12 07:40:32 UTC
module
Zap::
Utils::
Concurrent::
DedupeLock(T)
Direct including types
Deduped
Zap::Utils::Fetch(T)
Defined in:
utils/concurrent/dedupe_lock.cr
Instance Method Summary
#dedupe
(key : String, &block : -> T) : T
Instance Method Detail
def
dedupe
(key : String, &block : -> T) : T
#
[
View source
]