本文整理匯總了TypeScript中typed-immutable-record.recordify函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript recordify函數的具體用法?TypeScript recordify怎麽用?TypeScript recordify使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了recordify函數的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1:
export const messageHeaderFactory = (messageHeader: IMessageHeader) => recordify<IMessageHeader, IMessageHeaderRecord>(messageHeader);
示例2:
export const busMessageContextFactory = (busMessageContext: IBusMessageContext) => recordify<IBusMessageContext, IBusMessageContextRecord>(busMessageContext);
示例3:
export const cancellationTokenFactory = (cancellationToken: ICancellationToken) => recordify<ICancellationToken, ICancellationTokenRecord>(cancellationToken);
示例4:
export const busFactory = (bus: IBus) => recordify<IBus, IBusRecord>(bus);
示例5:
export const messageFactory = (message: IMessage) => recordify<IMessage, IMessageRecord>(message);
示例6:
export const subscriptionFactory = (subscription: ISubscription) => recordify<ISubscription, ISubscriptionRecord>(subscription);
示例7:
export const sendOptionsFactory = (sendOptions: ISendOptions) => recordify<ISendOptions, ISendOptionsRecord>(sendOptions);
示例8:
export const endpointFactory = (endpoint: IEndpoint) => recordify<IEndpoint, IEndpointRecord>(endpoint);
示例9:
export const sendRuleFactory = (sendRule: ISendRule) => recordify<ISendRule, ISendRuleRecord>(sendRule);