Function: writeNameMapping()
writeNameMapping(
aliases
,nameMap
):Promise
<void
>
Write table aliases with an AliasesNameMap and a provided
NameMapping, which can support either synchronous or asynchronous
write()
execution. It will wrap a synchronous result, or wrap an unwrapped
result if asynchronous.
Parameters
• aliases: AliasesNameMap
An AliasesNameMap
object to write to.
• nameMap: NameMapping
A NameMapping
object to write to the AliasesNameMap
.
Returns
Promise
<void
>
A promise containing void
upon write completion.
Source
@tableland/sdk/src/helpers/config.ts:134