Skip to content

Commit 064d3f1

Browse files
buenaflorclaude
andcommitted
docs(extend-app-start): Document IAppStartExtender method contracts
Add behavior-focused javadoc (call site, idempotency, no-op conditions) to extendAppStart/finishAppStart rather than restating the method names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0c8aa99 commit 064d3f1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

sentry/src/main/java/io/sentry/IAppStartExtender.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,17 @@
1212
@ApiStatus.Internal
1313
public interface IAppStartExtender {
1414

15+
/**
16+
* Begins extending the app start. Intended to be called from {@code Application.onCreate} right
17+
* after SDK init. No-ops if the app start already finished, none is in progress, or it was
18+
* already extended (first call wins).
19+
*/
1520
void extendAppStart();
1621

22+
/**
23+
* Finishes the extended app start, allowing the app start transaction to complete. No-ops if the
24+
* app start was not extended or this was already called.
25+
*/
1726
void finishAppStart();
1827

1928
/**

0 commit comments

Comments
 (0)