X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FMultiThreadedLockableScore.mts;h=e767848af544cd60345201afb47c2171a8fef04f;hb=c629a01650402c8e2f9b9db8ced9ed63ce687727;hp=53c8906e26300551ebe0a1e55eacfdb4e8e420a7;hpb=2a65456aa0b540060dcf3ca707a54dc98cc3f38a;p=ldk-java diff --git a/ts/structs/MultiThreadedLockableScore.mts b/ts/structs/MultiThreadedLockableScore.mts index 53c8906e..e767848a 100644 --- a/ts/structs/MultiThreadedLockableScore.mts +++ b/ts/structs/MultiThreadedLockableScore.mts @@ -279,15 +279,20 @@ import { LockableScore, LockableScoreInterface } from '../structs/LockableScore. import CommonBase from './CommonBase.mjs'; import * as bindings from '../bindings.mjs' -import * as InternalUtils from '../InternalUtils.mjs' +/** + * A concrete implementation of [`LockableScore`] which supports multi-threading. + */ export class MultiThreadedLockableScore extends CommonBase { /* @internal */ public constructor(_dummy: object, ptr: number) { super(ptr, bindings.MultiThreadedLockableScore_free); } + /** + * Creates a new [`MultiThreadedLockableScore`] given an underlying [`Score`]. + */ public static constructor_new(score: Score): MultiThreadedLockableScore { const ret: number = bindings.MultiThreadedLockableScore_new(score == null ? 0 : CommonBase.get_ptr_of(score)); const ret_hu_conv: MultiThreadedLockableScore = new MultiThreadedLockableScore(null, ret);